summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_syscall.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-10-30 02:19:39 +0000
committermarcel <marcel@FreeBSD.org>2011-10-30 02:19:39 +0000
commit11d8234b9717134e53e5322cc2acf1e39ea1e9c8 (patch)
tree1116012f8caabba16fe2ebf0086a4c0f7ee98cfa /sys/kern/subr_syscall.c
parentd794f830d2c5baee3e912352d66bf666bd2be9ec (diff)
downloadFreeBSD-src-11d8234b9717134e53e5322cc2acf1e39ea1e9c8.zip
FreeBSD-src-11d8234b9717134e53e5322cc2acf1e39ea1e9c8.tar.gz
Revert rev. 226893: subr_syscall.c is being included from C files and
on amd64 with FREEBSD32 enabled, this means that systrace_probe_func gets defined twice.
Diffstat (limited to 'sys/kern/subr_syscall.c')
-rw-r--r--sys/kern/subr_syscall.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/kern/subr_syscall.c b/sys/kern/subr_syscall.c
index f9689a0..bba4479 100644
--- a/sys/kern/subr_syscall.c
+++ b/sys/kern/subr_syscall.c
@@ -52,15 +52,6 @@ __FBSDID("$FreeBSD$");
#endif
#include <security/audit/audit.h>
-#ifdef KDTRACE_HOOKS
-/*
- * This is a hook which is initialised by the systrace module
- * when it is loaded. This keeps the DTrace syscall provider
- * implementation opaque.
- */
-systrace_probe_func_t systrace_probe_func;
-#endif
-
static inline int
syscallenter(struct thread *td, struct syscall_args *sa)
{
OpenPOWER on IntegriCloud