summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include/ptrace.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-08-21 13:42:39 +0000
committerjhb <jhb@FreeBSD.org>2001-08-21 13:42:39 +0000
commitbfb2a1d9645777514e4a81b213e216fa474de287 (patch)
tree20eb736f3ec3c229001c2debcf42b1d7d61c8222 /sys/alpha/include/ptrace.h
parent39008f1a5d801cab2284324365042e510b52ff5b (diff)
downloadFreeBSD-src-bfb2a1d9645777514e4a81b213e216fa474de287.zip
FreeBSD-src-bfb2a1d9645777514e4a81b213e216fa474de287.tar.gz
Protect prototype of ptrace_clear_single_step() with #ifdef _KERNEL/#endif.
Requested by: bde
Diffstat (limited to 'sys/alpha/include/ptrace.h')
-rw-r--r--sys/alpha/include/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/include/ptrace.h b/sys/alpha/include/ptrace.h
index 1fa28f7..5a9cf14 100644
--- a/sys/alpha/include/ptrace.h
+++ b/sys/alpha/include/ptrace.h
@@ -47,6 +47,8 @@
#define FIX_SSTEP(p) ptrace_clear_single_step(p)
+#ifdef _KERNEL
int ptrace_clear_single_step(struct proc *_p);
+#endif
#endif
OpenPOWER on IntegriCloud