diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:23:58 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:23:58 +0800 |
commit | 20dcffd255f3db8f1ef70ab61b87aba3b2b859b9 (patch) | |
tree | 8aff6ea57b65cba05b77ff88d5b928b6d84afa89 /mbbsd/cal.c | |
parent | 7a21e08eca7c72e08fb2a5294b192ebf59a0565a (diff) | |
download | pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.gz pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.bz2 pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.lz pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.xz pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.zst pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.zip |
explicitly tell C compiler functions have no parameter
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r-- | mbbsd/cal.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index a556c30b..48123958 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -49,7 +49,7 @@ lockutmpmode(int unmode, int state) } int -unlockutmpmode() +unlockutmpmode(void) { currutmp->lockmode = 0; return 0; @@ -241,7 +241,7 @@ osong(char *defaultid) } int -ordersong() +ordersong(void) { osong(NULL); return 0; @@ -260,7 +260,7 @@ inmailbox(int m) #if !HAVE_FREECLOAK /* 花錢選單 */ int -p_cloak() +p_cloak(void) { if (getans(currutmp->invisible ? "確定要現身?[y/N]" : "確定要隱身?[y/N]") != 'y') return 0; @@ -274,7 +274,7 @@ p_cloak() #endif int -p_from() +p_from(void) { if (getans("確定要改故鄉?[y/N]") != 'y') return 0; @@ -290,7 +290,7 @@ p_from() } int -p_exmail() +p_exmail(void) { char ans[4], buf[200]; int n; @@ -361,7 +361,7 @@ give_tax(int money) } int -p_give() +p_give(void) { int money, tax; char id[IDLEN + 1], money_buf[20]; |