summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/convert.h2
-rw-r--r--include/proto.h2
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);