summaryrefslogtreecommitdiffstats
path: root/sbin/restore/tape.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/restore/tape.c')
-rw-r--r--sbin/restore/tape.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c
index 10256e459cc..35bb32e7c05 100644
--- a/sbin/restore/tape.c
+++ b/sbin/restore/tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tape.c,v 1.19 2001/11/05 07:39:17 mpech Exp $ */
+/* $OpenBSD: tape.c,v 1.20 2002/02/16 21:27:37 millert Exp $ */
/* $NetBSD: tape.c,v 1.26 1997/04/15 07:12:25 lukem Exp $ */
/*
@@ -93,23 +93,23 @@ static int Qcvt; /* Swap quads (for sun) */
#define FLUSHTAPEBUF() blkcnt = ntrec + 1
-static void accthdr __P((struct s_spcl *));
-static int checksum __P((int *));
-static void findinode __P((struct s_spcl *));
-static void findtapeblksize __P((void));
-static int gethead __P((struct s_spcl *));
-static void readtape __P((char *));
-static void setdumpnum __P((void));
-static u_long swabl __P((u_long));
-static u_char *swablong __P((u_char *, int));
-static u_char *swabshort __P((u_char *, int));
-static void terminateinput __P((void));
-static void xtrfile __P((char *, long));
-static void xtrlnkfile __P((char *, long));
-static void xtrlnkskip __P((char *, long));
-static void xtrmap __P((char *, long));
-static void xtrmapskip __P((char *, long));
-static void xtrskip __P((char *, long));
+static void accthdr(struct s_spcl *);
+static int checksum(int *);
+static void findinode(struct s_spcl *);
+static void findtapeblksize(void);
+static int gethead(struct s_spcl *);
+static void readtape(char *);
+static void setdumpnum(void);
+static u_long swabl(u_long);
+static u_char *swablong(u_char *, int);
+static u_char *swabshort(u_char *, int);
+static void terminateinput(void);
+static void xtrfile(char *, long);
+static void xtrlnkfile(char *, long);
+static void xtrlnkskip(char *, long);
+static void xtrmap(char *, long);
+static void xtrmapskip(char *, long);
+static void xtrskip(char *, long);
/*
* Set up an input source
@@ -642,8 +642,8 @@ skipfile()
*/
void
getfile(fill, skip)
- void (*fill) __P((char *, long));
- void (*skip) __P((char *, long));
+ void (*fill)(char *, long);
+ void (*skip)(char *, long);
{
int i;
volatile int curblk = 0;