/[gnats]/gnats/libiberty/memcmp.c
ViewVC logotype

Diff of /gnats/libiberty/memcmp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by brendan, Thu Nov 5 19:54:16 1998 UTC revision 1.2 by pdm, Mon Dec 10 23:03:26 2001 UTC
# Line 25  int Line 25  int
25  DEFUN(memcmp, (str1, str2, count),  DEFUN(memcmp, (str1, str2, count),
26        const PTR str1 AND const PTR str2 AND size_t count)        const PTR str1 AND const PTR str2 AND size_t count)
27  {  {
28    register unsigned char *s1 = (unsigned char*)str1;    register const unsigned char *s1 = (const unsigned char*)str1;
29    register unsigned char *s2 = (unsigned char*)str2;    register const unsigned char *s2 = (const unsigned char*)str2;
30    
31    while (count-- > 0)    while (count-- > 0)
32      {      {

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26