diff options
author | paulo <paul@bayleaf.org.uk> | 2010-02-04 15:09:00 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2010-02-04 15:09:00 +0000 |
commit | 2c9671af75453599104a36b30c4f9281104b1816 (patch) | |
tree | cb77b6bbbe1ecc0a549a39af602221b9de5282da /lib/log.c | |
parent | d8921b6522d8b55f3de87f90c4cdc0755acf8c7f (diff) | |
download | quagga-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.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |