summaryrefslogtreecommitdiffstats
path: root/sys/dev/filemon/filemon.c
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-06-05 18:16:33 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-06-05 18:16:33 +0000
commit4d8712daf1610ccab464077fdc055a48a4b845ed (patch)
treec31905a4503fd80fe6e07366985554b124724ff4 /sys/dev/filemon/filemon.c
parentd80c39f48cea8e3433f9b6b72fdc3c176f909916 (diff)
downloadFreeBSD-src-4d8712daf1610ccab464077fdc055a48a4b845ed.zip
FreeBSD-src-4d8712daf1610ccab464077fdc055a48a4b845ed.tar.gz
Cleanup COMPAT_FREEBSD32 support.
This is a NOP. The COMPAT_IA32 was renamed in r205014 to COMPAT_FREEBSD32 and COMPAT_ARCH32 does not seem to have existed. Also remove some leftovers from the sysent rework in r301404. Include freebsd32_util.h for the freebsd32_sysent prototype. X-MFC-With: r301404 Reported by: kib MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/dev/filemon/filemon.c')
-rw-r--r--sys/dev/filemon/filemon.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/filemon/filemon.c b/sys/dev/filemon/filemon.c
index d727455..919af9d 100644
--- a/sys/dev/filemon/filemon.c
+++ b/sys/dev/filemon/filemon.c
@@ -54,16 +54,12 @@ __FBSDID("$FreeBSD$");
#include "filemon.h"
-#if defined(COMPAT_IA32) || defined(COMPAT_FREEBSD32) || defined(COMPAT_ARCH32)
+#if defined(COMPAT_FREEBSD32)
#include <compat/freebsd32/freebsd32_syscall.h>
#include <compat/freebsd32/freebsd32_proto.h>
-
-extern struct sysentvec ia32_freebsd_sysvec;
+#include <compat/freebsd32/freebsd32_util.h>
#endif
-extern struct sysentvec elf32_freebsd_sysvec;
-extern struct sysentvec elf64_freebsd_sysvec;
-
static d_close_t filemon_close;
static d_ioctl_t filemon_ioctl;
static d_open_t filemon_open;
OpenPOWER on IntegriCloud