freeswitch/libs/libedit.old/patches/01-strlcat.c.patch
Michal Bielicki 8cc4b29d20 replacing libedit
leaving libedit.old in just in case for a day ...


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7501 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:56:23 +00:00

35 lines
842 B
Diff

--- export/src/strlcat.c 2007-03-02 22:26:59.000000000 +0100
+++ ../src/strlcat.c 2007-03-02 22:38:45.000000000 +0100
@@ -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.2 2006/03/30 20:37:51 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