diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-19 13:36:13 +1000 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-11-02 14:41:20 -0500 |
commit | f83d78dd2801c7e4bee406379d3119f8852cf297 (patch) | |
tree | 72322bd80d992ead5359ed70faeeac1ae6a73a20 /src/common/cfgfiles.h | |
parent | 9fb4eb5107a133a4c0492f11f02cdeb014042786 (diff) |
Warning cleanup
- ignoring const - declarations after statements - some C files didnt include own headers (risking them getting out of sync) Closes #1064
Diffstat (limited to 'src/common/cfgfiles.h')
-rw-r--r-- | src/common/cfgfiles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h index 8b996ca0..c460ce60 100644 --- a/src/common/cfgfiles.h +++ b/src/common/cfgfiles.h @@ -48,7 +48,7 @@ void list_loadconf (char *file, GSList ** list, char *defaultconf); int list_delentry (GSList ** list, char *name); void list_addentry (GSList ** list, char *cmd, char *name); int cmd_set (session *sess, char *tbuf, char *word[], char *word_eol[]); -int hexchat_open_file (char *file, int flags, int mode, int xof_flags); +int hexchat_open_file (const char *file, int flags, int mode, int xof_flags); FILE *hexchat_fopen_file (const char *file, const char *mode, int xof_flags); #define XOF_DOMODE 1 |