summaryrefslogtreecommitdiffstats
path: root/mbbsd/guess.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-30 00:25:40 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-30 00:25:40 +0800
commit8059d1525a1b5bfa7192a68d2fe12242e47f0145 (patch)
tree077e1384fc174710ac1b596cd3500e40bed09478 /mbbsd/guess.c
parenta035b16261c3df5adbf6520ac8c848064243dbc7 (diff)
downloadpttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.gz
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.bz2
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.lz
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.xz
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.tar.zst
pttbbs-8059d1525a1b5bfa7192a68d2fe12242e47f0145.zip
use int instead of long
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2151 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/guess.c')
-rw-r--r--mbbsd/guess.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/guess.c b/mbbsd/guess.c
index ca80aa15..98425b66 100644
--- a/mbbsd/guess.c
+++ b/mbbsd/guess.c
@@ -22,7 +22,7 @@ show_table(char TABLE[], char ifcomputer)
outs("\033[33m=================\033[m");
}
-static long int
+static int
get_money(void)
{
int money, i;
@@ -212,10 +212,10 @@ Diff_Random(char *answer)
#define lockreturn0(unmode, state) if(lockutmpmode(unmode, state)) return 0
int
-guess_main()
+guess_main(void)
{
char data[5];
- long int money;
+ int money;
char computerwin = 0, youwin = 0;
int count = 0, c_count = 0;
char ifcomputer[2];