From d3829ef075e6227a9a4b92ad707e7ad3b490aacd Mon Sep 17 00:00:00 2001 From: kcwu Date: Wed, 2 Mar 2005 23:38:18 +0000 Subject: 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 --- mbbsd/stuff.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mbbsd/stuff.c') 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) -- cgit v1.2.3