]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* support/logresolve.c (strdup): Remove, APR already
authorJoe Orton <jorton@apache.org>
Wed, 5 Nov 2003 17:21:56 +0000 (17:21 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 5 Nov 2003 17:21:56 +0000 (17:21 +0000)
provides this if necessary.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101704 13f79535-47bb-0310-9956-ffa450edef68

support/logresolve.c

index 84cbf63e0cc0a98e0728e7c67e3b0d653ebc46df..d239479cd9d06f9455937e7a2241eb28e19afd3d 100644 (file)
@@ -85,19 +85,6 @@ static void stats(FILE *output);
 /* number of buckets in cache hash apr_table_t */
 #define BUCKETS 256
 
-#if !APR_HAVE_STRDUP
-char *strdup (const char *str)
-{
-    char *dup;
-
-    if (!(dup = (char *) malloc(strlen(str) + 1)))
-       return NULL;
-    dup = strcpy(dup, str);
-
-    return dup;
-}
-#endif
-
 /*
  * struct nsrec - record of nameservice for cache linked list
  *