diff --git a/src/info.c b/src/info.c index 25e6b60c9..69d29c128 100644 --- a/src/info.c +++ b/src/info.c @@ -26,7 +26,7 @@ #include "tincctl.h" #include "utils.h" -void logger(int level, int priority, const char *format, ...) { +void logger(debug_t level, int priority, const char *format, ...) { (void)level; (void)priority; va_list ap; diff --git a/src/tincctl.c b/src/tincctl.c index 3b7efd4e3..3af0f1f88 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -80,7 +80,7 @@ char *scriptextension = defaultextension; static char *prompt; char *device = NULL; char *iface = NULL; -int debug_level = -1; +debug_t debug_level = -1; typedef enum option_t { OPT_BAD_OPTION = '?',