From bef22c1887f4b984969e2e2b5082bd42a16d661a Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Thu, 11 Oct 2001 08:36:33 +0000
Subject: Add strndup, written by Stefan Soucek <ssoucek@coactive.com>

---
 include/string.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'include')

diff --git a/include/string.h b/include/string.h
index 3c03c7cee..13bdca993 100644
--- a/include/string.h
+++ b/include/string.h
@@ -125,8 +125,7 @@ extern char *strdup (__const char *__s) __THROW __attribute_malloc__;
 /* Return a malloc'd copy of at most N bytes of STRING.  The
    resultant string is terminated even if no null terminator
    appears before STRING[N].  */
-#if 0
-//#if defined __USE_GNU
+#if defined __USE_GNU
 extern char *strndup (__const char *__string, size_t __n)
      __THROW __attribute_malloc__;
 #endif
-- 
cgit v1.2.3