diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-30 14:54:40 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-07-30 14:54:40 +0800 |
commit | c0c9d87226fcdd179335b6f7356499ce05219b09 (patch) | |
tree | 6fc81a1bab6ff112288402fcef31a9a3425a1e4c /include | |
parent | 9c890899dc1ffab3a2ba67402c3dcb7b3e0e4f02 (diff) | |
download | pttbbs-c0c9d87226fcdd179335b6f7356499ce05219b09.tar pttbbs-c0c9d87226fcdd179335b6f7356499ce05219b09.tar.gz pttbbs-c0c9d87226fcdd179335b6f7356499ce05219b09.tar.bz2 pttbbs-c0c9d87226fcdd179335b6f7356499ce05219b09.tar.lz pttbbs-c0c9d87226fcdd179335b6f7356499ce05219b09.tar.xz pttbbs-c0c9d87226fcdd179335b6f7356499ce05219b09.tar.zst pttbbs-c0c9d87226fcdd179335b6f7356499ce05219b09.zip |
use correct type: size_t/int/long/pointer
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2153 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/convert.h | 2 | ||||
-rw-r--r-- | include/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/convert.h b/include/convert.h index 88933d54..9ce0b75a 100644 --- a/include/convert.h +++ b/include/convert.h @@ -6,6 +6,6 @@ #define CONV_GB 1 #define CONV_UTF8 2 -typedef int (* read_write_type)(int, void *, size_t); +typedef ssize_t (* read_write_type)(int, void *, size_t); #endif diff --git a/include/proto.h b/include/proto.h index c2d91f83..2427bbae 100644 --- a/include/proto.h +++ b/include/proto.h @@ -479,7 +479,7 @@ char *Cdate(time_t *clock); void sethomefile(char *buf, char *userid, char *fname); int log_file(char *fn, int flag, const char *fmt,...); void str_lower(char *t, char *s); -int strstr_lower(char *str, char *tag); +void *strstr_lower(char *str, char *tag); int cursor_key(int row, int column); int search_num(int ch, int max); void setuserfile(char *buf, char *fname); |