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/proto.h | |
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/proto.h')
-rw-r--r-- | include/proto.h | 5 |
1 files changed, 3 insertions, 2 deletions
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(); |