From 171f28e1d4aa74772c47f912ed1bcc741f871f84 Mon Sep 17 00:00:00 2001 From: Marius Melzer Date: Mon, 21 Jan 2019 14:23:30 +0100 Subject: [PATCH] Add missing-prototypes warning option (#1347) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7c0e20b5..8cd57ce9 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ ifneq (,$(findstring yes,$(CAPSTONE_X86_ATT_DISABLE))) CFLAGS += -DCAPSTONE_X86_ATT_DISABLE endif -CFLAGS += -fPIC -Wall -Wwrite-strings -Iinclude +CFLAGS += -fPIC -Wall -Wwrite-strings -Wmissing-prototypes -Iinclude ifeq ($(CAPSTONE_USE_SYS_DYN_MEM),yes) CFLAGS += -DCAPSTONE_USE_SYS_DYN_MEM