Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/string add memmem



details:   https://anonhg.NetBSD.org/src/rev/483b7e5d10a1
branches:  trunk
changeset: 574809:483b7e5d10a1
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Mar 13 15:15:13 2005 +0000

description:
add memmem

diffstat:

 lib/libc/string/Makefile.inc |  20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diffs (49 lines):

diff -r bc3c46cd1cd3 -r 483b7e5d10a1 lib/libc/string/Makefile.inc
--- a/lib/libc/string/Makefile.inc      Sun Mar 13 15:09:50 2005 +0000
+++ b/lib/libc/string/Makefile.inc      Sun Mar 13 15:15:13 2005 +0000
@@ -1,5 +1,5 @@
 #      from: @(#)Makefile.inc  8.1 (Berkeley) 6/4/93
-#      $NetBSD: Makefile.inc,v 1.54 2004/07/03 08:27:25 junyoung Exp $
+#      $NetBSD: Makefile.inc,v 1.55 2005/03/13 15:15:13 perry Exp $
 
 # string sources
 .PATH: ${ARCHDIR}/string ${.CURDIR}/string
@@ -25,7 +25,7 @@
 #      strncat() strncmp() strncpy() strpbrk() strsep()
 #      strspn() strstr() swav()
 # m-d Makefile.inc may include sources for:
-#      memcpy() memmove() strchr() strrchr()
+#      memcpy() memmem() memmove() strchr() strrchr()
 
 .include "${ARCHDIR}/string/Makefile.inc"
 
@@ -38,6 +38,9 @@
 .if empty(SRCS:Mmemcpy.S)
 SRCS+= memcpy.c
 .endif
+.if empty(SRCS:Mmemmem.S)
+SRCS+= memmove.c
+.endif
 .if empty(SRCS:Mmemmove.S)
 SRCS+= memmove.c
 .endif
@@ -48,12 +51,13 @@
 SRCS+= strrchr.c
 .endif
 
-MAN+=  bm.3 bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \
-       memcmp.3 memcpy.3 memmove.3 memset.3 rindex.3 strcasecmp.3 strcat.3 \
-       strchr.3 strcmp.3 strcoll.3 strcpy.3 strcspn.3 strdup.3 strerror.3 \
-       string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strrchr.3 strsep.3 \
-       strsignal.3 strspn.3 strstr.3 strtok.3 strxfrm.3 swab.3 \
-       wcstok.3 wmemchr.3
+MAN+=  bm.3 bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 \
+       memccpy.3 memchr.3 memcmp.3 memcpy.3 memmem.3 memmove.3 memset.3 \
+       rindex.3 strcasecmp.3 strcat.3 strchr.3 strcmp.3 strcoll.3 \
+       strcpy.3 strcspn.3 strdup.3 strerror.3 string.3 strlcpy.3 \
+       strlen.3 strmode.3 strpbrk.3 strrchr.3 strsep.3 \
+       strsignal.3 strspn.3 strstr.3 strtok.3 strxfrm.3 \
+       swab.3 wcstok.3 wmemchr.3
 
 MLINKS+=bm.3 bm_comp.3 bm.3 bm_exec.3 bm.3 bm_free.3
 MLINKS+=strcasecmp.3 strncasecmp.3



Home | Main Index | Thread Index | Old Index