summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2018-07-16 12:07:34 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2018-07-16 12:07:34 +0000
commit7055f846e07f3417e553e75f8f49eaa859a50278 (patch)
treeeacc871760ae8d4db6d2eb465ef757107576f050
parent7ded4aeabf16d6abbb8a3f24364a66a321136b44 (diff)
parent6920cc4db7ff7cfb581fbacad920de3d9a681303 (diff)
downloadillumos-joyent-7055f846e07f3417e553e75f8f49eaa859a50278.tar.gz
[illumos-gate merge]
commit 6920cc4db7ff7cfb581fbacad920de3d9a681303 9648 policykit: unused functions
-rw-r--r--usr/src/cmd/policykit/Makefile1
-rw-r--r--usr/src/lib/policykit/Makefile.com1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/policykit/Makefile b/usr/src/cmd/policykit/Makefile
index db571b927f..0388c9fa5a 100644
--- a/usr/src/cmd/policykit/Makefile
+++ b/usr/src/cmd/policykit/Makefile
@@ -38,6 +38,7 @@ CPPFLAGS += -DPACKAGE_VERSION=\"$(POLICYKIT_VERSION)\"
CSTD = $(CSTD_GNU99)
CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-function
ROOTUSRSBINPROG = $(PROG:%=$(ROOTUSRSBIN)/%)
diff --git a/usr/src/lib/policykit/Makefile.com b/usr/src/lib/policykit/Makefile.com
index 89fd9296b7..d3b8c15f4b 100644
--- a/usr/src/lib/policykit/Makefile.com
+++ b/usr/src/lib/policykit/Makefile.com
@@ -29,6 +29,7 @@ include $(SRC)/lib/policykit/Makefile.policykit
CPPFLAGS = $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-function
CSTD = $(CSTD_GNU99)