Avoid compiler warnings for -ansi -pedantic.
Cat's Eye Technologies
10 years ago
173 | 173 | */ |
174 | 174 | void procstr(char *s) |
175 | 175 | { |
176 | char *h=strdup(s); | |
176 | char *h=(char *)strdup(s); | |
177 | 177 | char *g, *gg; |
178 | 178 | g = h; |
179 | 179 | |
211 | 211 | } |
212 | 212 | new = (struct word *) malloc(sizeof(struct word)); |
213 | 213 | strcpy(new->name, name); |
214 | new->macro = strdup(macro); | |
214 | new->macro = (char *)strdup(macro); | |
215 | 215 | new->fcn = fcn; |
216 | 216 | |
217 | 217 | new->next = whead; |