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.
This commit is contained in:
parent
b6efa27589
commit
aaf53ab2aa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286325
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user