DOKK / manpages / debian 10 / freebsd-manpages / MODULE_VERSION.9freebsd.en
MODULE_VERSION(9) Kernel Developer's Manual MODULE_VERSION(9)

MODULE_VERSIONset kernel module version

#include <sys/param.h>
#include <sys/module.h>

MODULE_VERSION(name, int version);

The () macro sets the version of the module called name. Other kernel modules can then depend on this module (see MODULE_DEPEND(9)).

MODULE_VERSION(foo, 1);

DECLARE_MODULE(9), module(9), MODULE_DEPEND(9)

This manual page was written by Alexander Langer <alex@FreeBSD.org>.

March 11, 2001 Debian