Makefile: turn on warnings about missing prototypes

Catches missing, dead code and also places where function should be static.
diff --git a/Makefile b/Makefile
index 6ba36e8..d4eed71 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,9 @@
 HOSTCC = gcc
 DEFINES += -D_GNU_SOURCE
 CCOPTS = -O2
-WFLAGS = -Wall -Wstrict-prototypes -Werror
+WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
+WFLAGS += -Wmissing-declarations -Wold-style-definition
+
 CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
 YACCFLAGS = -d -t -v