[PATCH] string: Cosmetic cleanup of string functions

Florian Weimer fweimer@redhat.com
Tue Apr 1 05:44:00 GMT 2014


On 03/31/2014 05:04 PM, Will Newton wrote:

> 2014-03-31  Will Newton  <will.newton@linaro.org>
>
> 	* string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
> 	and contents.  [!_LIBC] Remove #ifndef and contents.
> 	(basename): Use ANSI prototype.  [_LIBC] Remove #idef.
> 	* string/memccpy.c (__memccpy): Use ANSI prototype.
> 	* string/memfrob.c (memfrob): Likewise.
> 	* string/strcoll.c (STRCOLL): Likewise.
> 	* string/strlen.c (strlen): Likewise.
> 	* string/strtok.c (STRTOK): Likewise.
> 	* string/strcat.c: Remove unused #include of memcopy.h.
> 	(strcat): Use ANSI prototype.
> 	* string/strchr.c: Remove unused #include of memcopy.h.
> 	(strchr): Use ANSI prototype.
> 	* string/strcmp.c: Remove unused #include of memcopy.h.
> 	(strcmp): Use ANSI prototype.
> 	* string/strcpy.c: Remove unused #include of memcopy.h.
> 	(strcpy): Use ANSI prototype.

Looks okay to me.

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Libc-alpha mailing list