summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp/tftpsubs.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
committermillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
commitc72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch)
tree1ac67aab11df5f96856c0e3015d691db7dc9e811 /usr.bin/tftp/tftpsubs.h
parentdefault to rsa keyfile path for non key generation operations where (diff)
downloadwireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz
wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip
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.bin/tftp/tftpsubs.h')
-rw-r--r--usr.bin/tftp/tftpsubs.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/tftp/tftpsubs.h b/usr.bin/tftp/tftpsubs.h
index 626f6c09999..d32b5c0d15c 100644
--- a/usr.bin/tftp/tftpsubs.h
+++ b/usr.bin/tftp/tftpsubs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tftpsubs.h,v 1.2 1996/06/26 05:40:37 deraadt Exp $ */
+/* $OpenBSD: tftpsubs.h,v 1.3 2002/02/16 21:27:55 millert Exp $ */
/* $NetBSD: tftpsubs.h,v 1.2 1994/12/08 09:51:32 jtc Exp $ */
/*
@@ -40,12 +40,12 @@
* Prototypes for read-ahead/write-behind subroutines for tftp user and
* server.
*/
-struct tftphdr *r_init __P((void));
-void read_ahead __P((FILE *, int));
-int readit __P((FILE *, struct tftphdr **, int));
+struct tftphdr *r_init(void);
+void read_ahead(FILE *, int);
+int readit(FILE *, struct tftphdr **, int);
-int synchnet __P((int));
+int synchnet(int);
-struct tftphdr *w_init __P((void));
-int write_behind __P((FILE *, int));
-int writeit __P((FILE *, struct tftphdr **, int, int));
+struct tftphdr *w_init(void);
+int write_behind(FILE *, int);
+int writeit(FILE *, struct tftphdr **, int, int);