# | Line 33 | Line 33 | typedef struct s_head { | |
---|---|---|
33 | ||
34 | static S_HEAD *stab[NHASH]; | |
35 | ||
36 | + | static int shash(); |
37 | + | |
38 | extern char *savestr(), *strcpy(), *malloc(); | |
39 | ||
40 | #define NULL 0 | |
# | Line 91 | Line 93 | char *s; | |
93 | sfree(sp); | |
94 | return; | |
95 | } | |
94 | – | } |
95 | – | |
96 | – | |
97 | – | int |
98 | – | strcmp(s1, s2) /* check for s1==s2 */ |
99 | – | register char *s1, *s2; |
100 | – | { |
101 | – | if (s1 == s2) |
102 | – | return(0); |
103 | – | |
104 | – | while (*s1 == *s2++) |
105 | – | if (!*s1++) |
106 | – | return(0); |
107 | – | |
108 | – | return(*s1 - *--s2); |
96 | } | |
97 | ||
98 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |