diff --git a/girara/log.h b/girara/log.h index 4d74be30d5713a14fdd24dec109923e25d7a1c94..f51efa64588f6e24ec7d6a51c4c90a7bdc8c983f 100644 --- a/girara/log.h +++ b/girara/log.h @@ -6,9 +6,19 @@ #include #include -#include "types.h" #include "macros.h" +/** + * Log levels + */ +typedef enum girara_log_level_e +{ + GIRARA_DEBUG, /**> Debug messages */ + GIRARA_INFO, /**> Information debug output */ + GIRARA_WARNING, /**> Warning level */ + GIRARA_ERROR /**> Error */ +} girara_log_level_t; + /** * Prints a debug message. The arguments are passed to @ref girara_log as * last argument. diff --git a/girara/types.h b/girara/types.h index d6d92b4ce4b502ecb622b29ae4083c9cb9cf38be..5632089cc656ce88df3fb9634ca845d62db95e13 100644 --- a/girara/types.h +++ b/girara/types.h @@ -52,17 +52,6 @@ enum GIRARA_GOTO_END /**< Go to end of the line */ }; -/** - * Log levels - */ -typedef enum girara_log_level_e -{ - GIRARA_DEBUG, /**> Debug messages */ - GIRARA_INFO, /**> Information debug output */ - GIRARA_WARNING, /**> Warning level */ - GIRARA_ERROR /**> Error */ -} girara_log_level_t; - /** * Mode identifier */