diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 00:14:51 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 00:14:51 +0200 |
commit | 9b2cc549afd629a227a94aca35c4026c4eefdd2f (patch) | |
tree | a26ef553ae4e461646fbb77e1291a287504b1b11 | |
parent | 1bf627bb338ffe61e01bf7d6eeda4a6e18ccbeca (diff) |
move log levels to netifd.h
-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, |