summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-18 16:24:47 +0100
committerQuentin Young <qlyoung@users.noreply.github.com>2017-05-15 10:27:43 -0400
commit5894e76da7974eb00f4c8277a67630f5e50cec53 (patch)
tree24a6904b37e39aea941afe2e26b4a7ef6a63d1fd /lib/log.h
parent16705ecc653dd657c5b8149934d8734e89c27c07 (diff)
lib: parser: split off & rename graph handling
Put core CLI graph stuff in lib/command_graph.[ch] and consistently prefix all function names with "cmd_". Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/log.h b/lib/log.h
index cc419cc374..5faf0103e2 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -24,6 +24,7 @@
#define _ZEBRA_LOG_H
#include <syslog.h>
+#include <stdint.h>
#include <stdio.h>
/* Here is some guidance on logging levels to use:
@@ -64,7 +65,7 @@ struct message
/* Open zlog function */
extern void openzlog (const char *progname, const char *protoname,
- u_short instance, int syslog_options, int syslog_facility);
+ uint16_t instance, int syslog_options, int syslog_facility);
/* Close zlog function. */
extern void closezlog (void);