summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-07-01 12:12:24 -0600
committerMartin Roth <martinroth@google.com>2019-07-07 20:54:04 +0000
commitb592917dcf395183fbf8070c74e8344880f9b450 (patch)
treee264db22aaa46ba0324191ebbf791631ebd08c26 /util
parentf2a2137ae2125c6b2e67c8d73d85fa5dd9ee7c4b (diff)
downloadcoreboot-b592917dcf395183fbf8070c74e8344880f9b450.tar.xz
util/nvramtool: Enable -Wmissing-prototypes
Change-Id: Id751250b07a495dc25293ff703602bfefa9011bd Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33949 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'util')
-rw-r--r--util/nvramtool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index f5a4fd5d70..46297a2de9 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -19,7 +19,7 @@ PROGRAM = nvramtool
CC = gcc
INSTALL = /usr/bin/env install
PREFIX = /usr/local
-CFLAGS = -O2 -g -Wall -W -I. -DCMOS_HAL=1
+CFLAGS = -O2 -g -Wall -W -Wmissing-prototypes -I. -DCMOS_HAL=1
#CFLAGS = -Os -Wall
CLI_OBJS = cli/nvramtool.o cli/opts.o