elflink: Add _module_unload() prototype to module.h
authorMatt Fleming <matt.fleming@intel.com>
Mon, 2 Apr 2012 10:50:03 +0000 (11:50 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 17 Apr 2012 09:58:33 +0000 (10:58 +0100)
commitca5a008e119fd83866bface7037ae46ceb326980
tree41de218fac9f33cae40bedf9c378dfdeee712722
parent3fd6565d6081e5e0e2ecb633b1d7131a85450a10
elflink: Add _module_unload() prototype to module.h

Commit 8e0ed96bff7 ("elf: Support __constructor and __destructor")
failed to add a prototype for the newly introduced _module_unload()
function, which resulted in the following build warning being
introduced,

sys/module/exec.c: In function ‘spawn_load’:
sys/module/exec.c:222:3: warning: implicit declaration of function ‘_module_unload’

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/include/sys/module.h