Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > b080aa38c5bb0041448f6fdafd4d9238 > files > 15

libedit-devel-3.0-0.20090722.1mdv2010.0.i586.rpm

--- export/src/strlcpy.c	2009-07-22 23:27:40.000000000 +0200
+++ ../src/strlcpy.c	2009-07-22 23:49:25.000000000 +0200
@@ -17,19 +17,12 @@
  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#if !defined(_KERNEL) && !defined(_STANDALONE)
-#if HAVE_NBTOOL_CONFIG_H
-#include "nbtool_config.h"
-#endif
+#include <config.h>
 
-#include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
 __RCSID("$NetBSD: strlcpy.c,v 1.3 2007/06/04 18:19:27 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
-#ifdef _LIBC
-#include "namespace.h"
-#endif
 #include <sys/types.h>
 #include <assert.h>
 #include <string.h>
@@ -39,10 +32,6 @@
 __weak_alias(strlcpy, _strlcpy)
 # endif
 #endif
-#else
-#include <lib/libkern/libkern.h>
-#endif /* !_KERNEL && !_STANDALONE */
-
 
 #if !HAVE_STRLCPY
 /*