summaryrefslogtreecommitdiff
path: root/usr/src/cmd/boot/bootadm/Makefile
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-17 23:44:05 +0000
committerRobert Mustacchi <rm@joyent.com>2019-01-14 19:06:48 +0000
commit5661bb7641e85c46713da7a3002b29ecd2c3daf0 (patch)
treee0d0a4ec2e103c5c62feb664509414cd03f9f24e /usr/src/cmd/boot/bootadm/Makefile
parent05ede3db5e3b7d540afbccdc872c735770e82ef3 (diff)
downloadillumos-gate-5661bb7641e85c46713da7a3002b29ecd2c3daf0.tar.gz
10080 smatch Makefile changes for usr/src/cmd
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/cmd/boot/bootadm/Makefile')
-rw-r--r--usr/src/cmd/boot/bootadm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/boot/bootadm/Makefile b/usr/src/cmd/boot/bootadm/Makefile
index da5dbf5332..9946fef461 100644
--- a/usr/src/cmd/boot/bootadm/Makefile
+++ b/usr/src/cmd/boot/bootadm/Makefile
@@ -25,7 +25,7 @@
# Copyright 2016 Toomas Soome <tsoome@me.com>
# Copyright 2016 Nexenta Systems, Inc.
# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
-#
+# Copyright (c) 2018, Joyent, Inc.
PROG= bootadm
@@ -52,6 +52,8 @@ CFLAGS += $(XSTRCONST)
CPPFLAGS += -D_FILE_OFFSET_BITS=64
CPPFLAGS += -I$(SRC)/uts/common -I$(SRC)/common -I$(SRC)/common/ficl
+SMOFF += all_func_returns
+
CSTD= $(CSTD_GNU99)
LINTFLAGS += -erroff=E_INCONS_ARG_DECL2