summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ptrace.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-11 21:03:09 +0000
committerderaadt <deraadt@openbsd.org>2003-06-11 21:03:09 +0000
commitf723aa391085d188652b94aedd37f0dd94193fba (patch)
treee126833f2d9fa0dab58a426c7c390de874c0b447 /lib/libc/sys/ptrace.c
parentsupport for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@ (diff)
downloadwireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.tar.xz
wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.zip
ansification; checked by pval
Diffstat (limited to 'lib/libc/sys/ptrace.c')
-rw-r--r--lib/libc/sys/ptrace.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/sys/ptrace.c b/lib/libc/sys/ptrace.c
index f0d02dd7ae5..7c6d83333e9 100644
--- a/lib/libc/sys/ptrace.c
+++ b/lib/libc/sys/ptrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptrace.c,v 1.2 2002/02/16 21:27:24 millert Exp $ */
+/* $OpenBSD: ptrace.c,v 1.3 2003/06/11 21:03:10 deraadt Exp $ */
/* David Leonard <d@openbsd.org>, 1999. Public domain. */
#include <sys/types.h>
@@ -8,11 +8,7 @@
int _ptrace(int, pid_t, caddr_t, int);
int
-ptrace(request, pid, addr, data)
- int request;
- pid_t pid;
- caddr_t addr;
- int data;
+ptrace(int request, pid_t pid, caddr_t addr, int data)
{
/* ptrace(2) is documented to clear errno on success: */