X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Ffmt_scan.h;h=09346dabded4ab5d7cd49fb3b394e2fff44dbc23;hb=75fca31a5b9d5c1a99c74ab14c94438d8852fba9;hp=f65dab1c87f3d5628b0c8856525bbdc5f0b53025;hpb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;p=mmh diff --git a/h/fmt_scan.h b/h/fmt_scan.h index f65dab1..09346da 100644 --- a/h/fmt_scan.h +++ b/h/fmt_scan.h @@ -59,7 +59,7 @@ extern struct comp *wantcomp[128]; */ #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) ; /* @@ -87,6 +87,6 @@ struct format { /* ** 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 **); +char *formataddr(char *, char *);