Mercurial > emacs
comparison lwlib/lwlib.c @ 5853:4934e5381fb2
*** empty log message ***
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Tue, 08 Feb 1994 22:46:59 +0000 |
parents | 02a4aeb69cae |
children | 5feb28cb62c8 |
comparison
equal
deleted
inserted
replaced
5852:f2e341b1f908 | 5853:4934e5381fb2 |
---|---|
84 } | 84 } |
85 | 85 |
86 /* Like strcmp but ignore differences in case. */ | 86 /* Like strcmp but ignore differences in case. */ |
87 | 87 |
88 static int | 88 static int |
89 strcasecmp (s1, s2) | 89 my_strcasecmp (s1, s2) |
90 char *s1, *s2; | 90 char *s1, *s2; |
91 { | 91 { |
92 while (1) | 92 while (1) |
93 { | 93 { |
94 int c1 = *s1++; | 94 int c1 = *s1++; |
669 char* type; | 669 char* type; |
670 widget_creation_entry* table; | 670 widget_creation_entry* table; |
671 { | 671 { |
672 widget_creation_entry* cur; | 672 widget_creation_entry* cur; |
673 for (cur = table; cur->type; cur++) | 673 for (cur = table; cur->type; cur++) |
674 if (!strcasecmp (type, cur->type)) | 674 if (!my_strcasecmp (type, cur->type)) |
675 return cur->function; | 675 return cur->function; |
676 return NULL; | 676 return NULL; |
677 } | 677 } |
678 | 678 |
679 static Boolean | 679 static Boolean |