*/
#define FINDCOMP(comp,name) \
for (comp = wantcomp[CHASH(name)]; \
- comp && strcmp(comp->c_name,name); \
+ comp && strcmp(comp->c_name,name)!=0; \
comp = comp->c_next) ;
/*
/*
** prototypes
*/
-struct format *fmt_scan (struct format *, char *, int, int *);
-char *new_fs (char *, char *, char *);
-int fmt_compile (char *, struct format **);
+struct format *fmt_scan(struct format *, char *, int, int *);
+int fmt_compile(char *, struct format **);