summaryrefslogtreecommitdiff
path: root/json_object.c
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2013-09-08 13:35:28 -0700
committerEric Haszlakiewicz <erh+git@nimenees.com>2013-09-08 13:35:28 -0700
commitef43fe35711a162c31f3f24a16849caeb4d9eb74 (patch)
treedadaedbfe8cf4d482bcd05b7032de1aa3e288dbf /json_object.c
parenta030120c5552d9e615e67973de303ab79897f842 (diff)
parent1a957c2edc4df1ae3ac5396209e19ba8355a624b (diff)
Merge pull request #96 from rouault/remove_strdnup
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 b63faa4..1b3fc76 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