summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-15 16:37:15 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-15 16:37:15 +0800
commit9597a8bd383d61033dbfa0ac3753b4ed1b1c0b73 (patch)
treea620eb8bc5aec0525f9b962e0b65f9630edb30d6 /util
parent026329f85c6ebcbec743d526a0c46bd1c0aab8bb (diff)
downloadpttbbs-9597a8bd383d61033dbfa0ac3753b4ed1b1c0b73.tar
pttbbs-9597a8bd383d61033dbfa0ac3753b4ed1b1c0b73.tar.gz
pttbbs-9597a8bd383d61033dbfa0ac3753b4ed1b1c0b73.tar.bz2
pttbbs-9597a8bd383d61033dbfa0ac3753b4ed1b1c0b73.tar.lz
pttbbs-9597a8bd383d61033dbfa0ac3753b4ed1b1c0b73.tar.xz
pttbbs-9597a8bd383d61033dbfa0ac3753b4ed1b1c0b73.tar.zst
pttbbs-9597a8bd383d61033dbfa0ac3753b4ed1b1c0b73.zip
make non-c99 compiler happy
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/toplazyBBM.c2
-rw-r--r--util/toplazyBM.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/toplazyBBM.c b/util/toplazyBBM.c
index c46d029b..7d11d7a5 100644
--- a/util/toplazyBBM.c
+++ b/util/toplazyBBM.c
@@ -87,8 +87,8 @@ int main(int argc, char *argv[])
for (i = 0; i < numboards; i++) {
char *p, bmbuf[IDLEN * 3 + 3];
int index = 0, flag = 0, k, n;
- p=strtok(allbrd[i].BM,"/ ");
userec_t xuser;
+ p=strtok(allbrd[i].BM,"/ ");
if(p)
do
diff --git a/util/toplazyBM.c b/util/toplazyBM.c
index 8ca20443..111b9833 100644
--- a/util/toplazyBM.c
+++ b/util/toplazyBM.c
@@ -85,8 +85,8 @@ int main(int argc, char *argv[])
for (i = 0; i < numboards; i++) {
char *p, bmbuf[IDLEN * 3 + 3];
int index = 0, flag = 0, k, n;
- p = allbrd[i].BM;
userec_t xuser;
+ p = allbrd[i].BM;
if(*p=='[') p++;
if(allbrd[i].brdname[0] == '\0' ||