summaryrefslogtreecommitdiff
path: root/lib/str.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-15 17:15:49 +0900
committerDavid Lamparter <equinox@opensourcerouting.org>2016-11-15 17:35:36 +0900
commitc5d9d3bb361a7ccf58c3a75ce20d48dcde51210a (patch)
tree5838aaa1ea55338690ac2d78aab924d91e5d4c30 /lib/str.h
parent8ce70b1f5efd049ea23cdbc0929274eaa64cf0f5 (diff)
lib: replace strlcpy & strlcat with glibc versions
It seems these two were at some point copied in from rsync; replace with more recent versions that will hopefully become available in glibc as well. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/str.h')
-rw-r--r--lib/str.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/str.h b/lib/str.h
deleted file mode 100644
index 9c0e515db3..0000000000
--- a/lib/str.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * $Id: str.h,v 1.4 2005/09/19 09:53:21 hasso Exp $
- */
-
-#ifndef _ZEBRA_STR_H
-#define _ZEBRA_STR_H
-
-#ifndef HAVE_STRLCPY
-extern size_t strlcpy(char *, const char *, size_t);
-#endif
-
-#ifndef HAVE_STRLCAT
-extern size_t strlcat(char *, const char *, size_t);
-#endif
-
-#endif /* _ZEBRA_STR_H */
-