Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 9d70214adc1436f851b829e058769c88 > files > 17

lib64edit-devel-3.0-0.20090923.1mdv2010.1.x86_64.rpm

--- export/src/strlcat.c	2009-09-23 22:55:51.000000000 +0200
+++ ../src/strlcat.c	2009-09-23 23:04:26.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: strlcat.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>
@@ -40,10 +33,6 @@
 # endif
 #endif
 
-#else
-#include <lib/libkern/libkern.h>
-#endif /* !_KERNEL && !_STANDALONE */
-
 #if !HAVE_STRLCAT
 /*
  * Appends src to string dst of size siz (unlike strncat, siz is the