diff options
-rw-r--r-- | main.c | 8 | ||||
-rw-r--r-- | netifd.h | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -23,14 +23,6 @@ static struct list_head fds = LIST_HEAD_INIT(fds); #define DEFAULT_LOG_LEVEL L_NOTICE -enum { - L_CRIT, - L_WARNING, - L_NOTICE, - L_INFO, - L_DEBUG -}; - static int log_level = DEFAULT_LOG_LEVEL; static const int log_class[] = { [L_CRIT] = LOG_CRIT, @@ -28,6 +28,14 @@ extern char *hotplug_cmd_path; extern unsigned int debug_mask; enum { + L_CRIT, + L_WARNING, + L_NOTICE, + L_INFO, + L_DEBUG +}; + +enum { DEBUG_SYSTEM = 0, DEBUG_DEVICE = 1, DEBUG_INTERFACE = 2, |