summaryrefslogtreecommitdiff
path: root/usr.sbin/faithd/faithd.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-10-06 02:47:00 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-10-06 02:47:00 +0000
commit8e04df6d18059de21c91270ddc9ad6d904cffea4 (patch)
tree60ebc90177a4171cf037943ee0cd3cf5f774b0a4 /usr.sbin/faithd/faithd.h
parent37567b7c3cb65f88a9ffbeee7e3ab97241fd2b4c (diff)
printf string format audit. from: sommerfeld@netbsd.org
Diffstat (limited to 'usr.sbin/faithd/faithd.h')
-rw-r--r--usr.sbin/faithd/faithd.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/faithd/faithd.h b/usr.sbin/faithd/faithd.h
index 954a1600d74..1da3bf3cbc4 100644
--- a/usr.sbin/faithd/faithd.h
+++ b/usr.sbin/faithd/faithd.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: faithd.h,v 1.4 2000/09/16 10:33:45 itojun Exp $ */
-/* $KAME: faithd.h,v 1.5 2000/07/28 07:34:27 itojun Exp $ */
+/* $OpenBSD: faithd.h,v 1.5 2000/10/06 02:46:59 itojun Exp $ */
+/* $KAME: faithd.h,v 1.6 2000/10/05 22:20:37 itojun Exp $ */
/*
* Copyright (C) 1997 and 1998 WIDE Project.
@@ -39,8 +39,10 @@ extern int ftp_active __P((int, int, int *, int *));
extern int ftp_passive __P((int, int, int *, int *));
extern void rsh_relay __P((int, int));
extern void rsh_dual_relay __P((int, int));
-extern void exit_success __P((const char *, ...));
-extern void exit_failure __P((const char *, ...));
+extern void exit_success __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
+extern void exit_failure __P((const char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
#define DEFAULT_PORT_NAME "telnet"
#define DEFAULT_DIR "/usr/libexec"