summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-29 22:00:19 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-29 22:00:19 +0800
commit137fddca112a5ad5defc0f0270de7b1e25311fdc (patch)
tree7b89d60583db9ed39c2b349d04091d4298db9201 /include
parent769b139c4ca7e858cb30b8240ed074fbe90469a9 (diff)
downloadpttbbs-137fddca112a5ad5defc0f0270de7b1e25311fdc.tar
pttbbs-137fddca112a5ad5defc0f0270de7b1e25311fdc.tar.gz
pttbbs-137fddca112a5ad5defc0f0270de7b1e25311fdc.tar.bz2
pttbbs-137fddca112a5ad5defc0f0270de7b1e25311fdc.tar.lz
pttbbs-137fddca112a5ad5defc0f0270de7b1e25311fdc.tar.xz
pttbbs-137fddca112a5ad5defc0f0270de7b1e25311fdc.tar.zst
pttbbs-137fddca112a5ad5defc0f0270de7b1e25311fdc.zip
* [code refine] add const modifier
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4789 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h
index 80265894..d49c8ae4 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -187,8 +187,8 @@ const char *ask_tmpbuf(int y);
/* emaildb */
#ifdef USE_EMAILDB
-int emaildb_check_email(char * email, int email_len);
-int emaildb_update_email(char * userid, int userid_len, char * email, int email_len);
+int emaildb_check_email (const char *email, int email_len);
+int emaildb_update_email(const char *userid, int userid_len, const char *email, int email_len);
#endif
#ifdef USE_REGCHECKD
int regcheck_ambiguous_userid_exist(const char *userid);
@@ -615,7 +615,7 @@ int isvalidemail(char *email);
void uinfo_query(userec_t *u, int real, int unum);
int showsignature(char *fname, int *j, SigInfo *psi);
int u_cancelbadpost();
-void kick_all(char *user);
+void kick_all(const char *user);
void violate_law(userec_t * u, int unum);
void mail_violatelaw(const char* crime, const char* police, const char* reason, const char* result);
int u_info(void);