]> git.cworth.org Git - scherzo/commitdiff
Makefile: Add -Wmissing-declarations compiler option
authorCarl Worth <cworth@cworth.org>
Mon, 30 Sep 2013 00:30:30 +0000 (17:30 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 30 Sep 2013 00:30:30 +0000 (17:30 -0700)
Some recent code changes should obsolesce some functions, so it will
be nice to have compiler help in finding them.

Makefile

index 7d7d6124e44a70b92f650cd9a7ca7f69706dce30..c1ee124f72f5060286c099bbb4674027b7d1efa3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ scherzo_srcs :=         \
 scherzo_modules = $(scherzo_srcs:.c=.o)
 
 CFLAGS ?= -g
-WARN_CFLAGS = -Wall -Wextra
+WARN_CFLAGS = -Wall -Wextra -Wmissing-declarations
 
 SCHERZO_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags) -I./mnemon `pkg-config --cflags gtk+-2.0 alsa`