summaryrefslogtreecommitdiff
path: root/utils/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/utils.c')
-rw-r--r--utils/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/utils.c b/utils/utils.c
index 175b33073..b0069365e 100644
--- a/utils/utils.c
+++ b/utils/utils.c
@@ -295,7 +295,6 @@ char *strcasestr(const char *haystack, const char *needle)
#endif
-#ifndef HAVE_STRNDUP
/**
* Duplicate up to n characters of a string.
@@ -318,7 +317,6 @@ char *strndup(const char *s, size_t n)
return s2;
}
-#endif
#ifndef HAVE_STRCHRNUL