added __attribute__ ((format (printf)

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1707 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-05-11 11:04:38 +00:00
parent c76c05eb3b
commit 327a4d2bd9
16 changed files with 82 additions and 31 deletions

View File

@@ -57,6 +57,15 @@ childhandler (int sig)
SIGRETURN(0);
}
static void
fatal(int, des_cblock *, des_key_schedule,
struct sockaddr_in *, struct sockaddr_in *,
char *format, ...)
#ifdef __GNUC__
__attribute__ ((format (printf, 6, 7)))
#endif
;
static void
fatal (int fd, des_cblock *key, des_key_schedule schedule,
struct sockaddr_in *thisaddr,