diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-10-01 11:36:54 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-10-01 11:36:54 +0800 |
commit | 9cfd1c185ce0d0e76780f6432c4324d965e2abf7 (patch) | |
tree | b7d50c5edf0229099ec36744684852b8f813fdde /include | |
parent | 91ccf975bf2f1334e8da51befb2fd0f50727d83f (diff) | |
download | pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.gz pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.bz2 pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.lz pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.xz pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.zst pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.zip |
strstr is char *, not const char *
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/cmsys.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cmsys.h b/include/cmsys.h index 05454274..7dfd6e02 100644 --- a/include/cmsys.h +++ b/include/cmsys.h @@ -101,9 +101,9 @@ extern int is_number(const char *p); extern char * qp_encode (char *s, size_t slen, const char *d, const char *tocode); extern unsigned StringHash(const char *s); /* DBCS utilities */ -extern int DBCS_RemoveIntrEscape(unsigned char *buf, int *len); -extern int DBCS_Status(const char *dbcstr, int pos); -extern const char* DBCS_strcasestr(const char* pool, const char *ptr); +extern int DBCS_RemoveIntrEscape(unsigned char *buf, int *len); +extern int DBCS_Status(const char *dbcstr, int pos); +extern char * DBCS_strcasestr(const char* pool, const char *ptr); /* time.c */ extern int is_leap_year(int year); |