summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-18 09:01:53 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-18 09:01:53 +0000
commit1caec6c7d74cb6addc15342f27a3e5e7c4eca7a9 (patch)
tree59cd96bfe10767fec18313a186b469b52d92a441 /sys
parentca58171e0ae6d3d2275d7986b729fbc8cd3a06f5 (diff)
trace_req is not used anymore (was a nop).
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/sys_process.c11
-rw-r--r--sys/sys/ptrace.h4
2 files changed, 2 insertions, 13 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index b22ac8fc097..2f95204b041 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_process.c,v 1.11 2001/06/18 08:17:46 deraadt Exp $ */
+/* $OpenBSD: sys_process.c,v 1.12 2001/06/18 09:01:52 art Exp $ */
/* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */
/*-
@@ -409,12 +409,3 @@ sys_ptrace(p, v, retval)
#endif
return 0;
}
-
-int
-trace_req(a1)
- struct proc *a1;
-{
-
- /* just return 1 to keep other parts of the system happy */
- return (1);
-}
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index 16c112e5a02..a5d0886442d 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptrace.h,v 1.2 1996/03/03 12:12:09 niklas Exp $ */
+/* $OpenBSD: ptrace.h,v 1.3 2001/06/18 09:01:52 art Exp $ */
/* $NetBSD: ptrace.h,v 1.21 1996/02/09 18:25:26 christos Exp $ */
/*-
@@ -81,8 +81,6 @@ int process_write_regs __P((struct proc *p, struct reg *regs));
#define FIX_SSTEP(p)
#endif
-int trace_req __P((struct proc *));
-
#else /* !_KERNEL */
#include <sys/cdefs.h>