diff main.c @ 43:f185d1ac4db4

__dead + __printflike for clang
author Joerg Sonnenberger <joerg@bec.de>
date Sun, 31 Mar 2013 04:17:51 +0200
parents 337110e7240a
children 57e0c7a50b2d
line wrap: on
line diff
--- a/main.c	Sat Mar 30 21:50:37 2013 -0400
+++ b/main.c	Sun Mar 31 04:17:51 2013 +0200
@@ -504,7 +504,7 @@
 ////////////////////////////////////////////////////////////
 // complex modes
 
-static
+__dead static
 void
 commandline_iremap(const struct place *p, char *str)
 {
@@ -865,7 +865,7 @@
 	return false;
 }
 
-static
+__dead static
 void
 usage(void)
 {