summaryrefslogtreecommitdiff
path: root/mail/yatsvrs/patches/patch-bd
blob: 115212cd1c831e8cd4c4298fa78e7fb940f038c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-bd,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $

--- yatd/prototype.h.orig	Mon Jul  2 12:51:50 2001
+++ yatd/prototype.h
@@ -22,12 +22,18 @@
 #endif
 char * strlwr __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 *));