diff options
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; |