diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-03 07:38:18 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-03 07:38:18 +0800 |
commit | d3829ef075e6227a9a4b92ad707e7ad3b490aacd (patch) | |
tree | 836007e84dd95e68c9e337ae69659cf622120bf5 /mbbsd/chat.c | |
parent | 11cf3f25d98f02e3e02984b5e372159d9b6c555b (diff) | |
download | pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.gz pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.bz2 pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.lz pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.xz pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.tar.zst pttbbs-d3829ef075e6227a9a4b92ad707e7ad3b490aacd.zip |
warning free: "static" should be in front of "const"
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2569 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r-- | mbbsd/chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c index 5e9be5e3..36763341 100644 --- a/mbbsd/chat.c +++ b/mbbsd/chat.c @@ -258,7 +258,7 @@ typedef struct chat_command_t { void (*cmdfunc) (); /* Pointer to function */ } chat_command_t; -const static chat_command_t chat_cmdtbl[] = { +static const chat_command_t chat_cmdtbl[] = { {"help", chat_help}, {"clear", chat_clear}, {"date", chat_date}, |