diff options
Diffstat (limited to 'mail/yatsvrs/patches/patch-ae')
-rw-r--r-- | mail/yatsvrs/patches/patch-ae | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/yatsvrs/patches/patch-ae b/mail/yatsvrs/patches/patch-ae new file mode 100644 index 00000000000..eb00bf5376c --- /dev/null +++ b/mail/yatsvrs/patches/patch-ae @@ -0,0 +1,29 @@ +$NetBSD: patch-ae,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $ + +--- ascyd/prototype.h.orig Fri Jun 22 21:16:55 2001 ++++ ascyd/prototype.h +@@ -32,12 +32,18 @@ + char *strlwr __P((char *)); + int atoi2 __P((char *)); + +-void LogDEBUG __P((CONST char * pFmt, ...)); +-void LogNOTICE __P((CONST char * pFmt, ...)); +-int Msg2Cli __P((int stat, CONST char * pFmt, ...)); +-void Str2Cli __P((CONST char * pFmt, ...)); +-void ErrSetData __P((int codeErr, int Flags, CONST char * pFmt, ...)); +-void WARNING __P((int codeErr, int Flags, CONST char * pFmt, ...)); ++void LogDEBUG __P((CONST char * pFmt, ...)) ++ __attribute__((__format__(__printf__, 1, 2))); ++void LogNOTICE __P((CONST char * pFmt, ...)) ++ __attribute__((__format__(__printf__, 1, 2))); ++int Msg2Cli __P((int, CONST char * pFmt, ...)) ++ __attribute__((__format__(__printf__, 2, 3))); ++void Str2Cli __P((CONST char * pFmt, ...)) ++ __attribute__((__format__(__printf__, 1, 2))); ++void ErrSetData __P((int codeErr, int Flags, CONST char * pFmt, ...)) ++ __attribute__((__format__(__printf__, 3, 4))); ++void WARNING __P((int codeErr, int Flags, CONST char * pFmt, ...)) ++ __attribute__((__format__(__printf__, 3, 4))); + + /* etc.c */ + char * CatchLine __P((char *, int, FILE *)); |