[PATCH] Remove all traces of reg_char.

Carlos O'Donell carlos@systemhalted.org
Wed Apr 18 21:47:00 GMT 2012


On Wed, Apr 18, 2012 at 5:09 PM, David Miller <davem@davemloft.net> wrote:
>
> As mentioned, sparc was the only overrider of reg_char's
> definition and now it no longer does so.
>
> So we can remove this and simply use plain 'char' everywhere.
>
> Ok to commit?
>
>        * sysdeps/generic/memcopy.h (reg_char): Delete.
>        * debug/strcat_chk.c: Use char, not reg_char.
>        * debug/strcpy_chk.c: Likewise.
>        * debug/strncat_chk.c: Likewise.
>        * debug/strncpy_chk.c: Likewise.
>        * string/memchr.c: Likewise.
>        * string/memrchr.c: Likewise.
>        * string/rawmemchr.c: Likewise.
>        * string/strcat.c: Likewise.
>        * string/strchr.c: Likewise.
>        * string/strchrnul.c: Likewise.
>        * string/strcmp.c: Likewise.
>        * string/strcpy.c: Likewise.
>        * string/strncat.c: Likewise.
>        * string/strncmp.c: Likewise.
>        * string/strncpy.c: Likewise.

This looks good to me.

I double checked your files and they match what I expect.

Please check this in.

Cheers,
Carlos.



More information about the Libc-alpha mailing list