DragonFly On-Line Manual Pages
MODULE_VERSION(9) DragonFly Kernel Developer's Manual MODULE_VERSION(9)
NAME
MODULE_VERSION -- set kernel module version
SYNOPSIS
#include <sys/module.h>
MODULE_VERSION(name, int version);
DESCRIPTION
The MODULE_VERSION() macro sets the version of the module called name to
version. Other kernel modules can then depend on this module (see
MODULE_DEPEND(9)).
EXAMPLES
MODULE_VERSION(foo, 1);
SEE ALSO
DECLARE_MODULE(9), module(9), MODULE_DEPEND(9)
AUTHORS
This manual page was written by Alexander Langer <alex@FreeBSD.org>.
DragonFly 3.5 July 19, 2006 DragonFly 3.5