summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-12-26 14:35:16 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-12-26 14:35:16 +0800
commit5813df022c5ad24bc6f2d149884b035f6ba55721 (patch)
tree283d5ce092c0072fe19b72f6ffadc17c3c6b5622 /include/proto.h
parent0e1c81d4038faf0b4249899f56d1ead86ffd216f (diff)
downloadpttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.gz
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.bz2
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.lz
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.xz
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.tar.zst
pttbbs-5813df022c5ad24bc6f2d149884b035f6ba55721.zip
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
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h2
1 files changed, 1 insertions, 1 deletions
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 */