summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/modules.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index 856fb22..0d9ce72 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -27,8 +27,11 @@
#ifndef INCLUDED_modules_h
#define INCLUDED_modules_h
-#define MODULE_FLAG_CORE 0x1
-#define MODULE_FLAG_NOUNLOAD 0x2
+enum
+{
+ MODULE_FLAG_CORE = 1 << 0,
+ MODULE_FLAG_NOUNLOAD = 1 << 1
+};
struct module
{