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/stuff.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/stuff.c')
-rw-r--r-- | mbbsd/stuff.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index ba3253bf..c1667261 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -5,14 +5,14 @@ /* ----------------------------------------------------- */ /* set file path for boards/user home */ /* ----------------------------------------------------- */ -const static char *str_home_file = "home/%c/%s/%s"; -const static char *str_board_file = "boards/%c/%s/%s"; -const static char *str_board_n_file = "boards/%c/%s/%s.%d"; +static const char *str_home_file = "home/%c/%s/%s"; +static const char *str_board_file = "boards/%c/%s/%s"; +static const char *str_board_n_file = "boards/%c/%s/%s.%d"; static char cdate_buffer[32]; #define STR_DOTDIR ".DIR" -const static char *str_dotdir = STR_DOTDIR; +static const char *str_dotdir = STR_DOTDIR; void sethomepath(char *buf, const char *userid) |