From 5813df022c5ad24bc6f2d149884b035f6ba55721 Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 26 Dec 2006 06:35:16 +0000 Subject: Ptt_prints prototype changed, length of input string should be given git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3459 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/proto.h b/include/proto.h index dcab16bc..79d1a9b7 100644 --- a/include/proto.h +++ b/include/proto.h @@ -334,7 +334,7 @@ int Copy(const char *src, const char *dst); int CopyN(const char *src, const char *dst, int n); int AppendTail(const char *src, const char *dst, int off); int Link(const char* src, const char* dst); -char *Ptt_prints(char *str, int mode); +char *Ptt_prints(char *str, size_t size, int mode); char *my_ctime(const time4_t *t, char *ans, int len); /* lovepaper */ -- cgit v1.2.3