diff 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
line wrap: on
line diff
--- a/utils.h	Sat Mar 30 21:50:37 2013 -0400
+++ b/utils.h	Sun Mar 31 04:17:51 2013 +0200
@@ -53,10 +53,10 @@
 bool is_identifier(const char *str);
 
 /* in place.c */
-void complain(const struct place *, const char *fmt, ...);
+void complain(const struct place *, const char *fmt, ...) __printflike(2, 3);
 void complain_fail(void);
 bool complain_failed(void);
 
 /* in main.c */
 void freestringlater(char *s);
-void die(void);
+__dead void die(void);