summaryrefslogtreecommitdiff
path: root/lib/log_int.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-04-18 13:13:26 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-04-18 13:15:13 -0300
commite412d3b8d974dd39d95ce484b021a6593d373151 (patch)
treea8d86f4c7d4811dc9de23343f12f13f6dd3083f1 /lib/log_int.h
parent1ae9686cdf1b3e514345a5c8ddfa060d9d0429eb (diff)
lib: move zlog() prototype back to the public logging API
zlog() should be part of the public logging API as it's useful in the cases where the logging priority isn't known at compile time (i.e. it depends on a variable). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/log_int.h')
-rw-r--r--lib/log_int.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/log_int.h b/lib/log_int.h
index 58ae031e1b..287e626eab 100644
--- a/lib/log_int.h
+++ b/lib/log_int.h
@@ -51,7 +51,6 @@ extern const char *zlog_priority[];
/* Generic function for zlog. */
extern void vzlog(int priority, const char *format, va_list args);
-extern void zlog(int priority, const char *format, ...) PRINTF_ATTRIBUTE(2, 3);
#ifdef __cplusplus
}