Verified Commit 8f1557df authored by Karel Koci's avatar Karel Koci 🤘

logging: solve some warning

parent fb6afa2f
Pipeline #47275 passed with stages
in 9 minutes and 40 seconds
......@@ -154,11 +154,6 @@ enum log_level log_level_get(const char *level) {
return LL_UNKNOWN;
}
static const char *type_string[] = {
[LST_PKG_SCRIPT] = "pkg-script",
[LST_HOOK] = "hook"
};
// log_subproc cookie
struct c_log_subproc {
bool err; // Is this out or err
......
......@@ -19,7 +19,9 @@
#ifndef UPDATER_LOGGING_H
#define UPDATER_LOGGING_H
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment