logging_internal.h: Fix osmo_log_info definition

Global symbol osmo_log_info is declared in logging.c as non-const,
because it is modified. As soon as logging_internal.h is included into
logging.c, the compiler warns about osmo_log_info being declared twice
differently.

Change-Id: Iea961c3caeb12ddf60c99d4dca644bb9ab538767
This commit is contained in:
Pau Espin 2019-09-17 18:23:05 +02:00
parent 9655ed5cf5
commit 070628065a
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
#include <osmocom/core/utils.h>
extern void *tall_log_ctx;
extern const struct log_info *osmo_log_info;
extern struct log_info *osmo_log_info;
extern const struct value_string loglevel_strs[];
void assert_loginfo(const char *src);