diff options
author | Even Rouault <even.rouault@mines-paris.org> | 2013-08-12 20:49:19 +0200 |
---|---|---|
committer | Even Rouault <even.rouault@mines-paris.org> | 2013-08-12 20:49:19 +0200 |
commit | 1a957c2edc4df1ae3ac5396209e19ba8355a624b (patch) | |
tree | 86063bd85c1569b770a72f1e8a9cdf3ffff7deee /json_object.c | |
parent | b3bce4d5943774b59d7fa653da89f48db70d013e (diff) | |
download | json-c-1a957c2edc4df1ae3ac5396209e19ba8355a624b.tar.gz |
Remove redefinition of strndup() which is no longer used in the codebase
Diffstat (limited to 'json_object.c')
-rw-r--r-- | json_object.c | 4 |
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 |