diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-10-01 22:42:57 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-10-01 22:42:57 +0800 |
commit | 233e3205df3f43bf54ed366333fc71340ca71bef (patch) | |
tree | e49249aa461450e97c8d469d640f6da164c8bb2e /include | |
parent | efd842401473002b70d43e50aa3ecffe1423a899 (diff) | |
download | pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.gz pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.bz2 pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.lz pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.xz pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.tar.zst pttbbs-233e3205df3f43bf54ed366333fc71340ca71bef.zip |
* eliminate warnings according to lxb's commit on pttbbslite
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3581 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 4 | ||||
-rw-r--r-- | include/proto.h | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/include/common.h b/include/common.h index 9e7d7b23..59fd0fb7 100644 --- a/include/common.h +++ b/include/common.h @@ -118,10 +118,6 @@ ANSI_COLOR(31) "←[q]" ANSI_COLOR(30) "離開 " \ "" -#define MSG_SHORTULIST ANSI_COLOR(7) \ - "使用者代號 目前狀態 │使用者代號 目前狀態 │"\ - "使用者代號 目前狀態 " ANSI_RESET ANSI_CLRTOEND - #define MSG_SEPERATOR "\ ───────────────────────────────────────" diff --git a/include/proto.h b/include/proto.h index bfab2e4b..0c990e82 100644 --- a/include/proto.h +++ b/include/proto.h @@ -60,7 +60,7 @@ int inc_badsale(const char *, int num); //void set_assess(int uid, unsigned char num, int type); /* bbs */ -void delete_allpost(char *userid); +void delete_allpost(const char *userid); int invalid_brdname(const char *brd); void chomp(char *src); int del_range(int ent, const fileheader_t *fhdr, const char *direct); @@ -732,9 +732,10 @@ void sortsong(void); int topsong(void); /* user */ -int kill_user(int num, char *userid); +int kill_user(int num, const char *userid); int u_editcalendar(void); void user_display(const userec_t *u, int real); +int isvalidemail(const char *email); void uinfo_query(userec_t *u, int real, int unum); int showsignature(char *fname, int *j, SigInfo *psi); int u_cancelbadpost(); |