diff options
| author | 2004-12-06 13:14:09 +0000 | |
|---|---|---|
| committer | 2004-12-06 13:14:09 +0000 | |
| commit | 3c41b1be094c9b9a817ef32af8ba75f896dbaf1b (patch) | |
| tree | 1b83c1ac976a21ef97f2c5391212311ced996415 /usr.sbin/httpd/src/support/logresolve.c | |
| parent | Usage (diff) | |
| download | wireguard-openbsd-3c41b1be094c9b9a817ef32af8ba75f896dbaf1b.tar.xz wireguard-openbsd-3c41b1be094c9b9a817ef32af8ba75f896dbaf1b.zip | |
kill more dead code, mostly inside #ifdef SOMENONSENSEONSTUPIDOSES
joint work by Michael Knudsen <e@molioner.dk> and Daniel Ouellet
<daniel@presscom.net> with my input
no change in binaries
Diffstat (limited to 'usr.sbin/httpd/src/support/logresolve.c')
| -rw-r--r-- | usr.sbin/httpd/src/support/logresolve.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/usr.sbin/httpd/src/support/logresolve.c b/usr.sbin/httpd/src/support/logresolve.c index 4d05e6fd651..aba7f602364 100644 --- a/usr.sbin/httpd/src/support/logresolve.c +++ b/usr.sbin/httpd/src/support/logresolve.c @@ -62,19 +62,6 @@ static void stats(FILE *output); /* number of buckets in cache hash table */ #define BUCKETS 256 -#if defined(NEED_STRDUP) -char *strdup (const char *str) -{ - char *dup; - - if (!(dup = (char *) malloc(strlen(str) + 1))) - return NULL; - dup = strlcpy(dup, str, strlen(str) + 1); - - return dup; -} -#endif - /* * struct nsrec - record of nameservice for cache linked list * |
