summaryrefslogtreecommitdiffstats
path: root/lib/log.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2016-02-23 11:59:36 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-08 00:15:39 +0100
commitbb85d700d564ef836af88c9d17190c2c39b93e21 (patch)
treeab62aa870ed3661104142ffa8556e40479ce4b46 /lib/log.h
parent*: get rid of zlog(*, LOG_LEVEL, ...) (diff)
downloadfrr-bb85d700d564ef836af88c9d17190c2c39b93e21.tar.xz
frr-bb85d700d564ef836af88c9d17190c2c39b93e21.zip
lib: ditch struct zlog * argument on zlog/vzlog()
It's completely useless... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/log.h b/lib/log.h
index 00c996c5b..d0f8c0c3a 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -119,19 +119,17 @@ extern void closezlog (struct zlog *zl);
#endif /* __GNUC__ */
/* Generic function for zlog. */
-extern void zlog (struct zlog *zl, int priority, const char *format, ...)
- PRINTF_ATTRIBUTE(3, 4);
+extern void zlog (int priority, const char *format, ...)
+ PRINTF_ATTRIBUTE(2, 3);
/* Handy zlog functions. */
-extern void vzlog (struct zlog *zl, int priority, const char *format, va_list args);
+extern void vzlog (int priority, const char *format, va_list args);
extern void zlog_err (const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
extern void zlog_warn (const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
extern void zlog_info (const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
extern void zlog_notice (const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
extern void zlog_debug (const char *format, ...) PRINTF_ATTRIBUTE(1, 2);
-extern void vzlog (struct zlog *, int , const char *, va_list );
-
extern void zlog_thread_info (int log_level);
/* Set logging level for the given destination. If the log_level