diff options
Diffstat (limited to 'module.h')
-rw-r--r-- | module.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -17,12 +17,13 @@ /* This should not be used directly. Use block_init etc. instead. */ #define module_init(function, type) \ static void __attribute__((constructor)) do_qemu_init_ ## function(void) { \ - register_module_init(function, type); \ + register_module_init(function, type); \ } typedef enum { MODULE_INIT_BLOCK, - MODULE_INIT_DEVICE + MODULE_INIT_DEVICE, + MODULE_INIT_MAX } module_init_type; #define block_init(function) module_init(function, MODULE_INIT_BLOCK) |