From 2ce4e32a4b5ee135255897dd70be7648f5945e9f Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 1 Mar 2014 18:50:32 +0000 Subject: - 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 --- include/modules.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include') 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 { -- cgit