summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/log.h b/lib/log.h
index 9f6ec3be..b5dbdfe1 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -126,4 +126,7 @@ const char *mes_lookup (struct message *meslist, int max, int index);
extern const char *zlog_priority[];
+/* Safe version of strerror -- never returns NULL. */
+extern const char *safe_strerror(int errnum);
+
#endif /* _ZEBRA_LOG_H */