summaryrefslogtreecommitdiff
path: root/lib/str.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/str.h')
-rw-r--r--lib/str.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/str.h b/lib/str.h
index 7b83fe1cb1..9c0e515db3 100644
--- a/lib/str.h
+++ b/lib/str.h
@@ -5,14 +5,6 @@
#ifndef _ZEBRA_STR_H
#define _ZEBRA_STR_H
-#ifndef HAVE_SNPRINTF
-extern int snprintf(char *, size_t, const char *, ...);
-#endif
-
-#ifndef HAVE_VSNPRINTF
-#define vsnprintf(buf, size, format, args) vsprintf(buf, format, args)
-#endif
-
#ifndef HAVE_STRLCPY
extern size_t strlcpy(char *, const char *, size_t);
#endif
@@ -21,13 +13,5 @@ extern size_t strlcpy(char *, const char *, size_t);
extern size_t strlcat(char *, const char *, size_t);
#endif
-#ifndef HAVE_STRNLEN
-extern size_t strnlen(const char *s, size_t maxlen);
-#endif
-
-#ifndef HAVE_STRNDUP
-extern char * strndup (const char *, size_t);
-#endif
-
#endif /* _ZEBRA_STR_H */