summaryrefslogtreecommitdiff
path: root/util/cbmem
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-06-27 17:24:37 -0600
committerMartin Roth <martinroth@google.com>2019-07-02 16:12:21 +0000
commit0476332161920187ae03459a124055035d32af6d (patch)
tree10aeca70cd45568e701369cddefe6319dc21eb4d /util/cbmem
parent79a2f4767d2c5f200231568c01cc763fdc860df7 (diff)
util/cbmem: Enable -Wmissing-prototypes
Change-Id: Ia8482dc9b6ad800826152c2d3e9813190b0b574e Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33853 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/cbmem')
-rw-r--r--util/cbmem/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbmem/Makefile b/util/cbmem/Makefile
index e7318a17d4..485955b68a 100644
--- a/util/cbmem/Makefile
+++ b/util/cbmem/Makefile
@@ -19,7 +19,7 @@ CC ?= $(CROSS_COMPILE)gcc
INSTALL ?= /usr/bin/env install
PREFIX ?= /usr/local
CFLAGS ?= -O2
-CFLAGS += -Wall -Wextra -Werror
+CFLAGS += -Wall -Wextra -Wmissing-prototypes -Werror
CPPFLAGS += -I . -I $(ROOT)/commonlib/include
CPPFLAGS += -include ../../src/commonlib/include/commonlib/compiler.h