comparison utils.h @ 142:26ee741196d1

Allow complain(NULL, format, ...)
author David A. Holland
date Sat, 13 Jul 2013 12:38:54 -0400
parents 33954a07d013
children d6e6b3940780
comparison
equal deleted inserted replaced
141:63414cddf09c 142:26ee741196d1
60 60
61 size_t notrailingws(char *buf, size_t len); 61 size_t notrailingws(char *buf, size_t len);
62 bool is_identifier(const char *str); 62 bool is_identifier(const char *str);
63 63
64 /* in place.c */ 64 /* in place.c */
65 void complain_init(const char *progname);
65 void complain(const struct place *, const char *fmt, ...) PF(2, 3); 66 void complain(const struct place *, const char *fmt, ...) PF(2, 3);
66 void complain_fail(void); 67 void complain_fail(void);
67 bool complain_failed(void); 68 bool complain_failed(void);
68 69
69 /* in main.c */ 70 /* in main.c */