summaryrefslogtreecommitdiff
path: root/json_object.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2013-08-12 20:49:19 +0200
committerEven Rouault <even.rouault@mines-paris.org>2013-08-12 20:49:19 +0200
commit1a957c2edc4df1ae3ac5396209e19ba8355a624b (patch)
tree86063bd85c1569b770a72f1e8a9cdf3ffff7deee /json_object.c
parentb3bce4d5943774b59d7fa653da89f48db70d013e (diff)
Remove redefinition of strndup() which is no longer used in the codebase
Diffstat (limited to 'json_object.c')
-rw-r--r--json_object.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/json_object.c b/json_object.c
index e12c440..df1a62e 100644
--- a/json_object.c
+++ b/json_object.c
@@ -34,10 +34,6 @@
# error You do not have strdup on your system.
#endif /* HAVE_STRDUP */
-#if !defined(HAVE_STRNDUP)
- char* strndup(const char* str, size_t n);
-#endif /* !HAVE_STRNDUP */
-
#if !defined(HAVE_SNPRINTF) && defined(_MSC_VER)
/* MSC has the version as _snprintf */
# define snprintf _snprintf