aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sysent.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2018-04-27 15:50:22 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2018-04-27 15:50:22 +0000
commitd552176e4bfa2e7feba000e6e997cf4ce2fcac29 (patch)
tree1b9109bf5e17be67e98d51e85012fbabbb3a0384 /sys/sys/sysent.h
parentb79f74cc64d83c03851fd418f9437e653642607f (diff)
downloadsrc-d552176e4bfa2e7feba000e6e997cf4ce2fcac29.tar.gz
src-d552176e4bfa2e7feba000e6e997cf4ce2fcac29.zip
Unbreak world build after r333064
Reported by: O. Hartmann <ohartmann walstatt.org>
Notes
Notes: svn path=/head/; revision=333066
Diffstat (limited to 'sys/sys/sysent.h')
-rw-r--r--sys/sys/sysent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h
index 9d85728e1593..e4117cc2ec2a 100644
--- a/sys/sys/sysent.h
+++ b/sys/sys/sysent.h
@@ -53,7 +53,9 @@ typedef void (*systrace_probe_func_t)(struct syscall_args *,
enum systrace_probe_t, int);
typedef void (*systrace_args_func_t)(int, void *, uint64_t *, int *);
+#ifdef _KERNEL
extern bool systrace_enabled;
+#endif
extern systrace_probe_func_t systrace_probe_func;
struct sysent { /* system call table */