Remove extra shift and OR of CHARMASK.

This commit is contained in:
Roland McGrath 1994-12-09 20:16:06 +00:00
parent c82ceb0b00
commit b5f9dfd1a1
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1992, 1993 Free Software Foundation, Inc.
/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
@ -47,7 +47,6 @@ memchr (const void *s, int c, size_t n)
charmask = c | (c << 8);
charmask |= charmask << 16;
charmask |= charmask << 32;
charmask |= charmask << 64;
for (;;)
{

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1992, 1993 Free Software Foundation, Inc.
/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
@ -43,7 +43,6 @@ strchr (const char *str, int c)
charmask = c | (c << 8);
charmask |= charmask << 16;
charmask |= charmask << 32;
charmask |= charmask << 64;
for (;;)
{