diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-03-21 19:47:30 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-03-21 19:47:30 +0800 |
commit | 4813f76942b44fa45159fcd743657ce203601464 (patch) | |
tree | bac6a970516342f06c672bafbdf11c93e95da7b6 /mbbsd/mail.c | |
parent | 66a0e0e786412114be7e2439b816b2780601e016 (diff) | |
download | pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.gz pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.bz2 pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.lz pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.xz pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.zst pttbbs-4813f76942b44fa45159fcd743657ce203601464.zip |
Clean up some compile warnings (unused, signess)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r-- | mbbsd/mail.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index fc7ae823..c006bac6 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -870,7 +870,7 @@ mail_mbox(void) } static int -m_forward(int ent, fileheader_t * fhdr, const char *direct) +m_forward(int ent GCC_UNUSED, fileheader_t * fhdr, const char *direct GCC_UNUSED) { char uid[STRLEN]; @@ -1227,7 +1227,7 @@ mail_read(int ent, fileheader_t * fhdr, const char *direct) } static int -mail_read_all(int ent, fileheader_t * fhdr, const char *direct) +mail_read_all(int ent GCC_UNUSED, fileheader_t * fhdr GCC_UNUSED, const char *direct GCC_UNUSED) { off_t i = 0, num = 0; int fd = 0; @@ -1369,7 +1369,7 @@ mail_reply(int ent, fileheader_t * fhdr, const char *direct) } static int -mail_edit(int ent, fileheader_t * fhdr, const char *direct) +mail_edit(int ent GCC_UNUSED, fileheader_t * fhdr, const char *direct) { char genbuf[PATHLEN]; @@ -1382,7 +1382,7 @@ mail_edit(int ent, fileheader_t * fhdr, const char *direct) } static int -mail_nooutmail(int ent, fileheader_t * fhdr, const char *direct) +mail_nooutmail(int ent GCC_UNUSED, fileheader_t * fhdr GCC_UNUSED, const char *direct GCC_UNUSED) { cuser.uflag2 ^= REJ_OUTTAMAIL; passwd_update(usernum, &cuser); @@ -1597,7 +1597,7 @@ mail_man(void) // XXX BUG mail_cite 有可能會跳進 a_menu, 而 a_menu 會 check // currbid。 一整個糟糕的邏輯錯誤... static int -mail_cite(int ent, fileheader_t * fhdr, const char *direct) +mail_cite(int ent GCC_UNUSED, fileheader_t * fhdr, const char *direct GCC_UNUSED) { char fpath[PATHLEN]; char title[TTLEN + 1]; @@ -1642,7 +1642,7 @@ mail_cite(int ent, fileheader_t * fhdr, const char *direct) } static int -mail_save(int ent, fileheader_t * fhdr, const char *direct) +mail_save(int ent GCC_UNUSED, fileheader_t * fhdr GCC_UNUSED, const char *direct GCC_UNUSED) { char fpath[PATHLEN]; char title[TTLEN + 1]; @@ -1661,7 +1661,7 @@ mail_save(int ent, fileheader_t * fhdr, const char *direct) #ifdef OUTJOBSPOOL static int -mail_waterball(int ent, fileheader_t * fhdr, const char *direct) +mail_waterball(int ent GCC_UNUSED, fileheader_t * fhdr, const char *direct GCC_UNUSED) { static char address[60] = "", cmode = 1; char fname[500], genbuf[200]; |