diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-27 02:05:49 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-27 02:05:49 +0800 |
commit | aa73b1f65470fce6c40d335e34911bc08c2e375b (patch) | |
tree | 4cf8201c5300572d2ed120a4367990de355d4fe8 /mbbsd | |
parent | bbba63983f15f1825d74fe84a3f89af1637c5cef (diff) | |
download | pttbbs-aa73b1f65470fce6c40d335e34911bc08c2e375b.tar pttbbs-aa73b1f65470fce6c40d335e34911bc08c2e375b.tar.gz pttbbs-aa73b1f65470fce6c40d335e34911bc08c2e375b.tar.bz2 pttbbs-aa73b1f65470fce6c40d335e34911bc08c2e375b.tar.lz pttbbs-aa73b1f65470fce6c40d335e34911bc08c2e375b.tar.xz pttbbs-aa73b1f65470fce6c40d335e34911bc08c2e375b.tar.zst pttbbs-aa73b1f65470fce6c40d335e34911bc08c2e375b.zip |
build broken due to:
function name 'gettime' conflits with the other in stuff.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@366 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbcall.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/bbcall.c b/mbbsd/bbcall.c index 7e511686..29b39abc 100644 --- a/mbbsd/bbcall.c +++ b/mbbsd/bbcall.c @@ -1,4 +1,4 @@ -/* $Id: bbcall.c,v 1.3 2002/06/04 13:08:33 in2 Exp $ */ +/* $Id: bbcall.c,v 1.4 2002/06/26 18:05:49 kcwu Exp $ */ #include "bbs.h" #define SERVER_0941 "www.chips.com.tw" @@ -39,7 +39,7 @@ static void pager_msg_encode(char *field, char *buf) { *cc = 0; } -static void gettime(int flag, int *Year, int *Month, int *Day, int *Hour, +static void Gettime(int flag, int *Year, int *Month, int *Day, int *Hour, int *Minute) { char ans[5]; @@ -149,7 +149,7 @@ static void halpha0943(char* CoId) { "如果要定時送請按 '2': \033[m", ans, sizeof(ans), LCECHO); if(ans[0] != '1') - gettime(0, &Year, &Month, &Day, &Hour, &Minute); + Gettime(0, &Year, &Month, &Day, &Hour, &Minute); sprintf(atrn, "CoId=%s&ID=%s&Year=19%02d&Month=%02d&Day=%02d" "&Hour=%02d&Minute=%02d&Msg=%s", @@ -178,7 +178,7 @@ static void hcall0941() { "如果要定時送請按 '2': \033[m", ans, sizeof(ans), LCECHO); if(ans[0] != '1') { strcpy(TIME,"DELAY"); - gettime(0, &year, &month, &day, &hour, &min); + Gettime(0, &year, &month, &day, &hour, &min); } else strcpy(TIME,"NOW"); sprintf(trn,"PAGER_NO=%s&TRAN_MSG=%s&MSG_TYPE=NUMERIC&%s=1" @@ -210,7 +210,7 @@ static void hcall0948() { getdata(9, 0, "\033[1;37m如果你要馬上送請按 '1' " "如果要定時送請按 '2'\033[m: ", ans, sizeof(ans), LCECHO); if(ans[0] != '1') { - gettime(1, &year, &month, &day, &hour, &min); + Gettime(1, &year, &month, &day, &hour, &min); ya = 1; } |