summaryrefslogtreecommitdiffstats
path: root/lib/log.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2010-02-04 15:09:00 +0000
committerpaulo <paul@bayleaf.org.uk>2010-02-04 15:09:00 +0000
commit2c9671af75453599104a36b30c4f9281104b1816 (patch)
treecb77b6bbbe1ecc0a549a39af602221b9de5282da /lib/log.c
parentd8921b6522d8b55f3de87f90c4cdc0755acf8c7f (diff)
downloadquagga-2c9671af75453599104a36b30c4f9281104b1816.tar.bz2
quagga-2c9671af75453599104a36b30c4f9281104b1816.tar.xz
Thread safe versions of inet_ntoa and strerror.
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/log.c b/lib/log.c
index f6231974..bc4ed1ff 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -1235,14 +1235,6 @@ mes_lookup (const struct message *meslist, int max, int index, const char *none)
return none;
}
-/* Wrapper around strerror to handle case where it returns NULL. */
-const char *
-safe_strerror(int errnum)
-{
- const char *s = strerror(errnum);
- return (s != NULL) ? s : "Unknown error";
-}
-
struct zebra_desc_table
{
unsigned int type;