summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-08-05 16:53:49 +0000
committered <ed@FreeBSD.org>2015-08-05 16:53:49 +0000
commit76b38683311d49e5678a6ec930b99a265b990972 (patch)
tree6251c1159255a3af12cceace35135ad7fb3bc0c3 /sys/compat
parente5253846382d51cfbf00775ba3aa3f40f5427d9c (diff)
downloadFreeBSD-src-76b38683311d49e5678a6ec930b99a265b990972.zip
FreeBSD-src-76b38683311d49e5678a6ec930b99a265b990972.tar.gz
Correct the previous commit: remove the DECLARE_MODULE().
It looks like a MODULE_VERSION() can also appear on its own -- there is no need to use explicitly use DECLARE_MODULE(). Looking at other modules, this seems common practice.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/cloudabi/cloudabi_proc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/compat/cloudabi/cloudabi_proc.c b/sys/compat/cloudabi/cloudabi_proc.c
index 949e390..22f199d 100644
--- a/sys/compat/cloudabi/cloudabi_proc.c
+++ b/sys/compat/cloudabi/cloudabi_proc.c
@@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$");
#include <sys/capsicum.h>
#include <sys/filedesc.h>
#include <sys/imgact.h>
-#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/module.h>
#include <sys/mutex.h>
@@ -136,11 +135,4 @@ cloudabi_sys_proc_raise(struct thread *td,
return (0);
}
-static moduledata_t cloudabi_module = {
- "cloudabi",
- NULL,
- NULL
-};
-
-DECLARE_MODULE(cloudabi, cloudabi_module, SI_SUB_EXEC, SI_ORDER_ANY);
MODULE_VERSION(cloudabi, 1);
OpenPOWER on IntegriCloud