summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/ftp.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.bin/ftp/ftp.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (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.bin/ftp/ftp.c')
-rw-r--r--usr.bin/ftp/ftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c
index c2310f829cd..aa38b099fc9 100644
--- a/usr.bin/ftp/ftp.c
+++ b/usr.bin/ftp/ftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftp.c,v 1.41 2001/06/26 23:44:00 lebel Exp $ */
+/* $OpenBSD: ftp.c,v 1.42 2002/02/16 21:27:46 millert Exp $ */
/* $NetBSD: ftp.c,v 1.27 1997/08/18 10:20:23 lukem Exp $ */
/*
@@ -67,7 +67,7 @@
#if 0
static char sccsid[] = "@(#)ftp.c 8.6 (Berkeley) 10/27/94";
#else
-static char rcsid[] = "$OpenBSD: ftp.c,v 1.41 2001/06/26 23:44:00 lebel Exp $";
+static char rcsid[] = "$OpenBSD: ftp.c,v 1.42 2002/02/16 21:27:46 millert Exp $";
#endif
#endif /* not lint */
@@ -506,7 +506,7 @@ sendrequest(cmd, local, remote, printnames)
struct stat st;
int c, d;
FILE * volatile fin, * volatile dout;
- int (* volatile closefunc) __P((FILE *));
+ int (* volatile closefunc)(FILE *);
volatile sig_t oldinti, oldintr, oldintp;
volatile off_t hashbytes;
char * volatile lmode;
@@ -799,7 +799,7 @@ recvrequest(cmd, local, remote, lmode, printnames, ignorespecial)
int printnames, ignorespecial;
{
FILE * volatile fout, * volatile din;
- int (* volatile closefunc) __P((FILE *));
+ int (* volatile closefunc)(FILE *);
volatile sig_t oldinti, oldintr, oldintp;
int c, d;
volatile int is_retr, tcrflag, bare_lfs;