diff options
| -rw-r--r-- | isisd/isis_misc.c | 1 | ||||
| -rw-r--r-- | lib/log.h | 1 | ||||
| -rw-r--r-- | lib/log_int.h | 1 | ||||
| -rw-r--r-- | lib/yang.c | 1 | ||||
| -rw-r--r-- | zebra/zebra_rib.c | 1 |
5 files changed, 1 insertions, 4 deletions
diff --git a/isisd/isis_misc.c b/isisd/isis_misc.c index c24917454a..2ce68262eb 100644 --- a/isisd/isis_misc.c +++ b/isisd/isis_misc.c @@ -28,7 +28,6 @@ #include "hash.h" #include "if.h" #include "command.h" -#include "log_int.h" #include "isisd/dict.h" #include "isisd/isis_constants.h" @@ -94,6 +94,7 @@ 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 zlog(int priority, const char *format, ...) PRINTF_ATTRIBUTE(2, 3); /* For logs which have error codes associated with them */ #define flog_err(ferr_id, format, ...) \ 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 } diff --git a/lib/yang.c b/lib/yang.c index 7982d14fdd..c5123d6ab8 100644 --- a/lib/yang.c +++ b/lib/yang.c @@ -20,7 +20,6 @@ #include <zebra.h> #include "log.h" -#include "log_int.h" #include "lib_errors.h" #include "yang.h" #include "yang_translator.h" diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index e47499b065..013a1d9a70 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -24,7 +24,6 @@ #include "if.h" #include "linklist.h" #include "log.h" -#include "log_int.h" #include "memory.h" #include "mpls.h" #include "nexthop.h" |
