From 69ded4e2ea2977a61b2b9db4ecb0f54e79381ab4 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Wed, 14 Mar 2018 13:51:02 +0100 Subject: [PATCH] Move girara_log_level_t to log.h We do not need it anywhere else. --- girara/log.h | 12 +++++++++++- girara/types.h | 11 ----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/girara/log.h b/girara/log.h index 4d74be3..f51efa6 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 d6d92b4..5632089 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 */ -- 2.26.2