/[gcl]/gcl/o/bcmp.c
ViewVC logotype

Diff of /gcl/o/bcmp.c

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

revision 1.2 by camm, Sat Jul 20 07:10:55 2002 UTC revision 1.3 by mjthomas, Tue Jul 30 02:48:08 2002 UTC
# Line 1  Line 1 
1  int bcmp(const void *s1, const void *s2, size_t n)  #include <stdlib.h>
2    int bcmp(const char *s1, const char *s2, size_t n)
3  {     while (n-- > 0)  {     while (n-- > 0)
4          {if (*s1++ != *s2++)          {if (*s1++ != *s2++)
5           return 1;}           return 1;}

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

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