diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /usr.sbin/faithd/faithd.h | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff) |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.sbin/faithd/faithd.h')
-rw-r--r-- | usr.sbin/faithd/faithd.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/faithd/faithd.h b/usr.sbin/faithd/faithd.h index cf0521cdba5..82311b1e0ea 100644 --- a/usr.sbin/faithd/faithd.h +++ b/usr.sbin/faithd/faithd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: faithd.h,v 1.6 2001/09/05 01:31:33 itojun Exp $ */ +/* $OpenBSD: faithd.h,v 1.7 2002/02/16 21:28:02 millert Exp $ */ /* $KAME: faithd.h,v 1.7 2001/07/02 14:36:48 itojun Exp $ */ /* @@ -33,15 +33,15 @@ extern char logname[]; extern int dflag; -extern void tcp_relay __P((int, int, const char *)); -extern void ftp_relay __P((int, int)); -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 tcp_relay(int, int, const char *); +extern void ftp_relay(int, int); +extern int ftp_active(int, int, int *, int *); +extern int ftp_passive(int, int, int *, int *); +extern void rsh_relay(int, int); +extern void rsh_dual_relay(int, int); +extern void exit_success(const char *, ...) __attribute__((__format__(__printf__, 1, 2))); -extern void exit_failure __P((const char *, ...)) +extern void exit_failure(const char *, ...) __attribute__((__format__(__printf__, 1, 2))); #define DEFAULT_PORT_NAME "telnet" |