projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delete trailing whitespace from control files
[debian/gzip]
/
lib
/
memrchr.c
diff --git
a/lib/memrchr.c
b/lib/memrchr.c
index 5a023e0638a1cebd90aac82420ce32af836d8ac4..2efc7cb97521db78157e364378710bf6579e7de7 100644
(file)
--- a/
lib/memrchr.c
+++ b/
lib/memrchr.c
@@
-1,6
+1,6
@@
/* memrchr -- find the last occurrence of a byte in a memory block
/* memrchr -- find the last occurrence of a byte in a memory block
- Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-201
3
Free Software
+ Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-201
8
Free Software
Foundation, Inc.
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
Foundation, Inc.
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
@@
-20,7
+20,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
+ along with this program. If not, see <http
s
://www.gnu.org/licenses/>. */
#if defined _LIBC
# include <memcopy.h>
#if defined _LIBC
# include <memcopy.h>
@@
-68,7
+68,7
@@
__memrchr (void const *s, int c_in, size_t n)
if (*--char_ptr == c)
return (void *) char_ptr;
if (*--char_ptr == c)
return (void *) char_ptr;
- longword_ptr = (const
longwor
d *) char_ptr;
+ longword_ptr = (const
voi
d *) char_ptr;
/* All these elucidatory comments refer to 4-byte longwords,
but the theory applies equally well to any size longwords. */
/* All these elucidatory comments refer to 4-byte longwords,
but the theory applies equally well to any size longwords. */