diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-03-01 18:50:32 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-03-01 18:50:32 +0000 |
commit | 2ce4e32a4b5ee135255897dd70be7648f5945e9f (patch) | |
tree | f1eeda553dec4ccbcfe547c05c37c98c0d64c572 /include | |
parent | 5a2b7989cb4d5ede8bd756b1373279f0dc5b9e4e (diff) |
- modules.h: use an enum for flag types
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3090 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 7 |
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 { |