diff options
author | Mark Johnston <markj@FreeBSD.org> | 2020-02-28 17:38:31 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2020-02-28 17:38:31 +0000 |
commit | e8049590f0b0d078482d5449bc306c2b78c38c5d (patch) | |
tree | a8e7402628c2f6af8b229837f1b36641c38e1bfd | |
parent | b4ffc02b140aa8d79e57afcbeec490c8d025d9f5 (diff) | |
download | src-e8049590f0b0d078482d5449bc306c2b78c38c5d.tar.gz src-e8049590f0b0d078482d5449bc306c2b78c38c5d.zip |
Fix r358436 to not declare kernel symbols when _KERNEL is not defined.
Reported by: Jenkins, Michael Butler
Pointy hat: markj
Notes
Notes:
svn path=/head/; revision=358437
-rw-r--r-- | sys/sys/sysent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h index 80c26d0cb457..0796818d8e91 100644 --- a/sys/sys/sysent.h +++ b/sys/sys/sysent.h @@ -53,10 +53,10 @@ 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 systrace_probe_func_t systrace_probe_func; extern bool systrace_enabled; -#ifdef _KERNEL #ifdef KDTRACE_HOOKS #define SYSTRACE_ENABLED() (systrace_enabled) #else |