From ba8f85b49c38af7bc2a9acdef5dcde2de008d25e Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 12 Jul 2008 05:00:28 +0000 Subject: Flatten bind9 vendor work area --- contrib/bind9/lib/bind/bsd/strdup.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 contrib/bind9/lib/bind/bsd/strdup.c (limited to 'contrib/bind9/lib/bind/bsd/strdup.c') diff --git a/contrib/bind9/lib/bind/bsd/strdup.c b/contrib/bind9/lib/bind/bsd/strdup.c deleted file mode 100644 index a8d31e9..0000000 --- a/contrib/bind9/lib/bind/bsd/strdup.c +++ /dev/null @@ -1,20 +0,0 @@ -#include "port_before.h" - -#include - -#include "port_after.h" - -#ifndef NEED_STRDUP -int __bind_strdup_unneeded; -#else -char * -strdup(const char *src) { - char *dst = malloc(strlen(src) + 1); - - if (dst) - strcpy(dst, src); - return (dst); -} -#endif - -/*! \file */ -- cgit v1.1