summaryrefslogtreecommitdiff
path: root/sbin/dump
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
commitd522f6eb0324008023fed0be4d046f3fc51b0356 (patch)
tree9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /sbin/dump
parent1b433a7e5b43fe0dec72e100525e31299629c117 (diff)
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/dump.h10
-rw-r--r--sbin/dump/tape.c6
2 files changed, 6 insertions, 10 deletions
diff --git a/sbin/dump/dump.h b/sbin/dump/dump.h
index 6cd1552c6dc..75b68b8cb00 100644
--- a/sbin/dump/dump.h
+++ b/sbin/dump/dump.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dump.h,v 1.9 2002/02/16 21:27:33 millert Exp $ */
+/* $OpenBSD: dump.h,v 1.10 2002/02/17 19:42:27 millert Exp $ */
/* $NetBSD: dump.h,v 1.11 1997/06/05 11:13:20 lukem Exp $ */
/*-
@@ -90,10 +90,6 @@ long dev_bsize; /* block size of underlying disk device */
int dev_bshift; /* log2(dev_bsize) */
int tp_bshift; /* log2(TP_BSIZE) */
-#ifndef __P
-#include <sys/cdefs.h>
-#endif
-
/* operator interface functions */
void broadcast(char *message);
time_t do_stats(void);
@@ -109,8 +105,8 @@ void timeest(void);
struct dinode;
long blockest(struct dinode *dp);
void mapfileino(ino_t, u_int64_t *, int *);
-int mapfiles __P((ino_t maxino, u_int64_t *tapesize, char *disk,
- char * const *dirv));
+int mapfiles(ino_t maxino, u_int64_t *tapesize, char *disk,
+ char * const *dirv);
int mapdirs(ino_t maxino, u_int64_t *tapesize);
/* file dumping routines */
diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c
index 929cc65d5c1..762f39c010c 100644
--- a/sbin/dump/tape.c
+++ b/sbin/dump/tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tape.c,v 1.13 2002/02/16 21:27:33 millert Exp $ */
+/* $OpenBSD: tape.c,v 1.14 2002/02/17 19:42:27 millert Exp $ */
/* $NetBSD: tape.c,v 1.11 1997/06/05 11:13:26 lukem Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)tape.c 8.2 (Berkeley) 3/17/94";
#else
-static char rcsid[] = "$OpenBSD: tape.c,v 1.13 2002/02/16 21:27:33 millert Exp $";
+static char rcsid[] = "$OpenBSD: tape.c,v 1.14 2002/02/17 19:42:27 millert Exp $";
#endif
#endif /* not lint */
@@ -85,7 +85,7 @@ extern int cartridge;
extern char *host;
char *nexttape;
-static ssize_t atomic __P((ssize_t (*)(), int, char *, int));
+static ssize_t atomic(ssize_t (*)(), int, char *, int);
static void doslave(int, int);
static void enslave(void);
static void flushtape(void);