summaryrefslogtreecommitdiff
path: root/util/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/strlcpy.c')
-rw-r--r--util/strlcpy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/strlcpy.c b/util/strlcpy.c
index 72e45d6b..73416ae1 100644
--- a/util/strlcpy.c
+++ b/util/strlcpy.c
@@ -3,8 +3,6 @@
* Returns strlen(src); if retval >= siz, truncation occurred.
*/
-#ifdef NEED_STRLCPY
-
#include <string.h>
int strlcpy(char *dst, const char *src, int siz)
@@ -32,5 +30,3 @@ int strlcpy(char *dst, const char *src, int siz)
return(s - src - 1); /* count does not include NUL */
}
-#endif
-