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>
This commit is contained in:
Jacob Garber 2019-06-27 17:24:37 -06:00 committed by Martin Roth
parent 79a2f4767d
commit 0476332161
1 changed files with 1 additions and 1 deletions

View File

@ -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