Difference for common/porting.c from version 1.22 to 1.23


version 1.22 version 1.23
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_porting_c =   * static char *rcsid_porting_c =
  *   "$Id: porting.c,v 1.22 2004/03/26 21:59:28 ryo_saeba Exp $";   *   "$Id: porting.c,v 1.23 2004/03/26 22:41:43 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 285
 
Line 285
   
 /* This seems to be lacking on some system */  /* This seems to be lacking on some system */
 #if !defined(HAVE_STRNCASECMP)  #if !defined(HAVE_STRNCASECMP)
 int strncasecmp(char *s1, char *s2, int n)  int strncasecmp(const char *s1, const char *s2, int n)
 {  {
   register int c1, c2;    register int c1, c2;
   
Line 305
 
Line 305
 #endif  #endif
   
 #if !defined(HAVE_STRCASECMP)  #if !defined(HAVE_STRCASECMP)
 int strcasecmp(char *s1, char*s2)  int strcasecmp(const char *s1, const char*s2)
 {  {
   register int c1, c2;    register int c1, c2;
   
Line 323
 
Line 323
 }  }
 #endif  #endif
   
 char *strcasestr_local(const char *s, char *find)  char *strcasestr_local(const char *s, const char *find)
 {  {
     char c, sc;      char c, sc;
     size_t len;      size_t len;


Legend:
line(s) removed in v.1.22 
line(s) changed
 line(s) added in v.1.23

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:16