Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern Add strnlen.c to SRCS (which will automatica...



details:   https://anonhg.NetBSD.org/src/rev/56a52ff06d0e
branches:  trunk
changeset: 784281:56a52ff06d0e
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jan 23 22:34:37 2013 +0000

description:
Add strnlen.c to SRCS (which will automatically use the .S version if it
exists).

diffstat:

 sys/lib/libkern/Makefile.libkern      |  4 ++--
 sys/lib/libkern/arch/arm/Makefile.inc |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r d85079543579 -r 56a52ff06d0e sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern  Wed Jan 23 22:20:06 2013 +0000
+++ b/sys/lib/libkern/Makefile.libkern  Wed Jan 23 22:34:37 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libkern,v 1.18 2012/08/30 12:16:49 drochner Exp $
+#      $NetBSD: Makefile.libkern,v 1.19 2013/01/23 22:34:37 matt Exp $
 
 # 
 # Variable definitions for libkern.  
@@ -84,7 +84,7 @@
 SRCS+= rngtest.c
 
 SRCS+= memchr.c
-SRCS+= strcat.c strcmp.c strcpy.c strlen.c
+SRCS+= strcat.c strcmp.c strcpy.c strlen.c strnlen.c
 SRCS+= strncmp.c strncpy.c
 SRCS+= strcasecmp.c strncasecmp.c
 
diff -r d85079543579 -r 56a52ff06d0e sys/lib/libkern/arch/arm/Makefile.inc
--- a/sys/lib/libkern/arch/arm/Makefile.inc     Wed Jan 23 22:20:06 2013 +0000
+++ b/sys/lib/libkern/arch/arm/Makefile.inc     Wed Jan 23 22:34:37 2013 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile.inc,v 1.13 2013/01/23 20:38:27 macallan Exp $
+#      $NetBSD: Makefile.inc,v 1.14 2013/01/23 22:34:37 matt Exp $
 
 SRCS+= byte_swap_2.S byte_swap_4.S
 SRCS+= ffs.S
 SRCS+= divsi3.S udivsi3.S divide.S clzsi2.S modsi3.S umodsi3.S
-SRCS+= memcmp.S memcpy.S memset.S memmove.S strcmp.S strncmp.S strnlen.S
+SRCS+= memcmp.S memcpy.S memset.S memmove.S strcmp.S strncmp.S
 
 .if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb"
 SRCS+= __aeabi_ldivmod.S __aeabi_uldivmod.S __aeabi_lcmp.c __aeabi_ulcmp.c



Home | Main Index | Thread Index | Old Index