]> sourceware.org Git - newlib-cygwin.git/commitdiff
* libc/include/string.h (strchrnul): Declare.
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 28 Mar 2011 14:51:28 +0000 (14:51 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 28 Mar 2011 14:51:28 +0000 (14:51 +0000)
* libc/string/strchrnul.c: New file.
* libc/string/Makefile.am (ELIX_2_SOURCES): Add strchrnul.c.
* libc/string/Makefile.in: Regenerate.

newlib/ChangeLog
newlib/libc/include/string.h
newlib/libc/string/Makefile.am
newlib/libc/string/Makefile.in

index 99078dd8625a34aba55b5350a7c4ad37638eb66a..f10416bc06edb8f79cd24f911e623a667602b786 100644 (file)
@@ -1,3 +1,10 @@
+2011-03-27  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
+
+       * libc/include/string.h (strchrnul): Declare.
+       * libc/string/strchrnul.c: New file.
+       * libc/string/Makefile.am (ELIX_2_SOURCES): Add strchrnul.c.
+       * libc/string/Makefile.in: Regenerate.
+
 2011-03-23  Nick Clifton  <nickc@redhat.com>
 
        * libc/machine/frv/setjmp.S: Fix typo in .size directive.
index 6bfdd3f87d5690a3c6a4ec81111ce3279bd680d2..d83fb8ac91232ec0f015708a9f0e33db4d92c7bd 100644 (file)
@@ -63,6 +63,7 @@ char  *_EXFUN(stpcpy,(char *, const char *));
 char   *_EXFUN(stpncpy,(char *, const char *, size_t));
 int     _EXFUN(strcasecmp,(const char *, const char *));
 char   *_EXFUN(strcasestr,(const char *, const char *));
+char   *_EXFUN(strchrnul,(const char *, int));
 char   *_EXFUN(strdup,(const char *));
 char   *_EXFUN(_strdup_r,(struct _reent *, const char *));
 char   *_EXFUN(strndup,(const char *, size_t));
index 561d0e5a0df0a9c0bc619b52f4f8a695056677d8..82035c84aed5542669e1566da8eec3a206b7dfad 100644 (file)
@@ -85,6 +85,7 @@ ELIX_2_SOURCES = \
        stpncpy.c \
        strndup.c \
        strcasestr.c \
+       strchrnul.c \
        strndup_r.c \
        wcpcpy.c \
        wcpncpy.c \
index a6e7e2e9802b46519dd3ddf55d99ca5a9af37757..001bfd40abe234ad1fd94935241f914b644e5f77 100644 (file)
@@ -96,6 +96,7 @@ am__objects_1 = lib_a-bcopy.$(OBJEXT) lib_a-bzero.$(OBJEXT) \
 @ELIX_LEVEL_1_FALSE@   lib_a-stpncpy.$(OBJEXT) \
 @ELIX_LEVEL_1_FALSE@   lib_a-strndup.$(OBJEXT) \
 @ELIX_LEVEL_1_FALSE@   lib_a-strcasestr.$(OBJEXT) \
+@ELIX_LEVEL_1_FALSE@   lib_a-strchrnul.$(OBJEXT) \
 @ELIX_LEVEL_1_FALSE@   lib_a-strndup_r.$(OBJEXT) \
 @ELIX_LEVEL_1_FALSE@   lib_a-wcpcpy.$(OBJEXT) \
 @ELIX_LEVEL_1_FALSE@   lib_a-wcpncpy.$(OBJEXT) \
@@ -123,8 +124,8 @@ am__objects_4 = bcopy.lo bzero.lo index.lo memchr.lo memcmp.lo \
        wmemcpy.lo wmemmove.lo wmemset.lo xpg_strerror_r.lo
 @ELIX_LEVEL_1_FALSE@am__objects_5 = bcmp.lo memccpy.lo mempcpy.lo \
 @ELIX_LEVEL_1_FALSE@   stpcpy.lo stpncpy.lo strndup.lo \
-@ELIX_LEVEL_1_FALSE@   strcasestr.lo strndup_r.lo wcpcpy.lo \
-@ELIX_LEVEL_1_FALSE@   wcpncpy.lo wcsdup.lo
+@ELIX_LEVEL_1_FALSE@   strcasestr.lo strchrnul.lo strndup_r.lo \
+@ELIX_LEVEL_1_FALSE@   wcpcpy.lo wcpncpy.lo wcsdup.lo
 @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@am__objects_6 = memmem.lo \
 @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@   wcscasecmp.lo \
 @ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_FALSE@@ELIX_LEVEL_3_FALSE@   wcsncasecmp.lo
@@ -375,6 +376,7 @@ GENERAL_SOURCES = \
 @ELIX_LEVEL_1_FALSE@   stpncpy.c \
 @ELIX_LEVEL_1_FALSE@   strndup.c \
 @ELIX_LEVEL_1_FALSE@   strcasestr.c \
+@ELIX_LEVEL_1_FALSE@   strchrnul.c \
 @ELIX_LEVEL_1_FALSE@   strndup_r.c \
 @ELIX_LEVEL_1_FALSE@   wcpcpy.c \
 @ELIX_LEVEL_1_FALSE@   wcpncpy.c \
@@ -937,6 +939,12 @@ lib_a-strcasestr.o: strcasestr.c
 lib_a-strcasestr.obj: strcasestr.c
        $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-strcasestr.obj `if test -f 'strcasestr.c'; then $(CYGPATH_W) 'strcasestr.c'; else $(CYGPATH_W) '$(srcdir)/strcasestr.c'; fi`
 
+lib_a-strchrnul.o: strchrnul.c
+       $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-strchrnul.o `test -f 'strchrnul.c' || echo '$(srcdir)/'`strchrnul.c
+
+lib_a-strchrnul.obj: strchrnul.c
+       $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-strchrnul.obj `if test -f 'strchrnul.c'; then $(CYGPATH_W) 'strchrnul.c'; else $(CYGPATH_W) '$(srcdir)/strchrnul.c'; fi`
+
 lib_a-strndup_r.o: strndup_r.c
        $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-strndup_r.o `test -f 'strndup_r.c' || echo '$(srcdir)/'`strndup_r.c
 
This page took 0.055553 seconds and 5 git commands to generate.