summaryrefslogtreecommitdiff
path: root/lib/libc/sys
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 /lib/libc/sys
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 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ptrace.c4
-rw-r--r--lib/libc/sys/sigaction.26
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/ptrace.c b/lib/libc/sys/ptrace.c
index 5e95a94941c..f0d02dd7ae5 100644
--- a/lib/libc/sys/ptrace.c
+++ b/lib/libc/sys/ptrace.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: ptrace.c,v 1.1 1999/02/01 08:13:01 d Exp $ */
+/* $OpenBSD: ptrace.c,v 1.2 2002/02/16 21:27:24 millert Exp $ */
/* David Leonard <d@openbsd.org>, 1999. Public domain. */
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/errno.h>
-int _ptrace __P((int, pid_t, caddr_t, int));
+int _ptrace(int, pid_t, caddr_t, int);
int
ptrace(request, pid, addr, data)
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 584332ac478..45e60a6928d 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigaction.2,v 1.30 2002/01/07 16:16:32 millert Exp $
+.\" $OpenBSD: sigaction.2,v 1.31 2002/02/16 21:27:24 millert Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -46,8 +46,8 @@
struct sigaction {
union { /* signal handler */
- void (*__sa_handler) __P((int));
- void (*__sa_sigaction) __P((int, siginfo_t *, void *));
+ void (*__sa_handler)(int);
+ void (*__sa_sigaction)(int, siginfo_t *, void *);
} __sigaction_u;
sigset_t sa_mask; /* signal mask to apply */
int sa_flags; /* see signal options below */