summaryrefslogtreecommitdiff
path: root/lib/libc/sys/ptrace.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 21:03:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 21:03:11 +0000
commit4dba6a5e639357ec5b17c397ad648b7c98e3ba12 (patch)
tree108501f056c58743e71328f45cbc63154295e75a /lib/libc/sys/ptrace.c
parente9c67dcf958b38635d2c444765b8d17227635cc5 (diff)
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: */