projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved and renamed some documentation files.
[mmh]
/
h
/
fmt_scan.h
diff --git
a/h/fmt_scan.h
b/h/fmt_scan.h
index
96acd56
..
a205868
100644
(file)
--- 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)]; \
*/
#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) ;
/*
comp = comp->c_next) ;
/*
@@
-88,5
+88,4
@@
struct format {
** prototypes
*/
struct format *fmt_scan(struct format *, char *, int, int *);
** prototypes
*/
struct format *fmt_scan(struct format *, char *, int, int *);
-char *new_fs(char *, char *, char *);
int fmt_compile(char *, struct format **);
int fmt_compile(char *, struct format **);