comparison utils.h @ 43:f185d1ac4db4

__dead + __printflike for clang
author Joerg Sonnenberger <joerg@bec.de>
date Sun, 31 Mar 2013 04:17:51 +0200
parents 337110e7240a
children 83ad94eec98f
comparison
equal deleted inserted replaced
41:ef8bedab8a4b 43:f185d1ac4db4
51 51
52 size_t notrailingws(char *buf, size_t len); 52 size_t notrailingws(char *buf, size_t len);
53 bool is_identifier(const char *str); 53 bool is_identifier(const char *str);
54 54
55 /* in place.c */ 55 /* in place.c */
56 void complain(const struct place *, const char *fmt, ...); 56 void complain(const struct place *, const char *fmt, ...) __printflike(2, 3);
57 void complain_fail(void); 57 void complain_fail(void);
58 bool complain_failed(void); 58 bool complain_failed(void);
59 59
60 /* in main.c */ 60 /* in main.c */
61 void freestringlater(char *s); 61 void freestringlater(char *s);
62 void die(void); 62 __dead void die(void);