From 81cfa1750954a0f7293f8caf3b3f27bf9a4e5e3d Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 29 Sep 2013 17:30:30 -0700 Subject: [PATCH] Makefile: Add -Wmissing-declarations compiler option Some recent code changes should obsolesce some functions, so it will be nice to have compiler help in finding them. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d7d612..c1ee124 100644 --- 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` -- 2.43.0