summaryrefslogtreecommitdiff
path: root/usr.bin/ktrace
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/ktrace
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/ktrace')
-rw-r--r--usr.bin/ktrace/extern.h6
-rw-r--r--usr.bin/ktrace/ktrace.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/ktrace/extern.h b/usr.bin/ktrace/extern.h
index b64675c9a9e..2a8a42150da 100644
--- a/usr.bin/ktrace/extern.h
+++ b/usr.bin/ktrace/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.1 2001/08/18 00:48:57 espie Exp $ */
+/* $OpenBSD: extern.h,v 1.2 2002/02/16 21:27:47 millert Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -25,5 +25,5 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-extern int getpoints __P((const char *));
-extern const char *ioctlname __P((unsigned long));
+extern int getpoints(const char *);
+extern const char *ioctlname(unsigned long);
diff --git a/usr.bin/ktrace/ktrace.c b/usr.bin/ktrace/ktrace.c
index c900f02f2fe..1428d0afcc5 100644
--- a/usr.bin/ktrace/ktrace.c
+++ b/usr.bin/ktrace/ktrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ktrace.c,v 1.12 2001/11/14 20:00:48 deraadt Exp $ */
+/* $OpenBSD: ktrace.c,v 1.13 2002/02/16 21:27:47 millert Exp $ */
/* $NetBSD: ktrace.c,v 1.4 1995/08/31 23:01:44 jtc Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ktrace.c 8.2 (Berkeley) 4/28/95";
#endif
-static char *rcsid = "$OpenBSD: ktrace.c,v 1.12 2001/11/14 20:00:48 deraadt Exp $";
+static char *rcsid = "$OpenBSD: ktrace.c,v 1.13 2002/02/16 21:27:47 millert Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -63,9 +63,9 @@ static char *rcsid = "$OpenBSD: ktrace.c,v 1.12 2001/11/14 20:00:48 deraadt Exp
#include "ktrace.h"
#include "extern.h"
-static int rpid __P((const char *));
-static void no_ktrace __P((int));
-static void usage __P((void));
+static int rpid(const char *);
+static void no_ktrace(int);
+static void usage(void);
int
main(argc, argv)