diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-23 09:47:50 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-23 09:47:50 +0800 |
commit | 7dfb1cd0396127830a9ba1011f0febf702e61e75 (patch) | |
tree | ae0ddb844025f95342f74a39b577aa4605ffa11f /include | |
parent | f575e3fb30bbb08a3dadc230b3ca03cd08a1f7c7 (diff) | |
download | pttbbs-7dfb1cd0396127830a9ba1011f0febf702e61e75.tar pttbbs-7dfb1cd0396127830a9ba1011f0febf702e61e75.tar.gz pttbbs-7dfb1cd0396127830a9ba1011f0febf702e61e75.tar.bz2 pttbbs-7dfb1cd0396127830a9ba1011f0febf702e61e75.tar.lz pttbbs-7dfb1cd0396127830a9ba1011f0febf702e61e75.tar.xz pttbbs-7dfb1cd0396127830a9ba1011f0febf702e61e75.tar.zst pttbbs-7dfb1cd0396127830a9ba1011f0febf702e61e75.zip |
add 'const' keyword.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3073 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 2 | ||||
-rw-r--r-- | include/pttstruct.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h index 46784a17..2ed3890f 100644 --- a/include/proto.h +++ b/include/proto.h @@ -40,7 +40,7 @@ int make_symbolic_link_interactively(int gid); void merge_dir(const char *dir1, const char *dir2, int isoutter); /* announce */ -int a_menu(const char *maintitle, char *path, int lastlevel, char *trans_buffer); +int a_menu(const char *maintitle, const char *path, int lastlevel, char *trans_buffer); void a_copyitem(const char* fpath, const char* title, const char* owner, int mode); int Announce(void); void gem(char* maintitle, item_t* path, int update); diff --git a/include/pttstruct.h b/include/pttstruct.h index 3d794166..4e722d70 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -423,7 +423,7 @@ typedef struct { typedef struct { fileheader_t *header; char mtitle[STRLEN]; - char *path; + const char *path; int num, page, now, level; } menu_t; |