Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/lib/libc/string Pull up revision 1.13 (requested by kle...



details:   https://anonhg.NetBSD.org/src/rev/1f2fe046b6ae
branches:  netbsd-1-5
changeset: 493084:1f2fe046b6ae
user:      he <he%NetBSD.org@localhost>
date:      Fri Apr 26 13:17:23 2002 +0000

description:
Pull up revision 1.13 (requested by kleink):
  Make it possible to build strlcat() and strlcpy() outside the
  libc environment.

diffstat:

 lib/libc/string/strlcat.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 1e2dfc6853a6 -r 1f2fe046b6ae lib/libc/string/strlcat.c
--- a/lib/libc/string/strlcat.c Mon Apr 22 22:33:48 2002 +0000
+++ b/lib/libc/string/strlcat.c Fri Apr 26 13:17:23 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strlcat.c,v 1.5.8.1 2002/04/22 22:03:41 he Exp $       */
+/*     $NetBSD: strlcat.c,v 1.5.8.2 2002/04/26 13:17:23 he Exp $       */
 /*     from OpenBSD: strlcat.c,v 1.2 1999/06/17 16:28:58 millert Exp   */
 
 /*
@@ -30,10 +30,12 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strlcat.c,v 1.5.8.1 2002/04/22 22:03:41 he Exp $");
+__RCSID("$NetBSD: strlcat.c,v 1.5.8.2 2002/04/26 13:17:23 he Exp $");
 #endif /* LIBC_SCCS and not lint */
 
+#ifdef _LIBC
 #include "namespace.h"
+#endif
 #include <sys/types.h>
 #include <assert.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index