summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-07-10 22:59:23 +0300
committerDan McDonald <danmcd@joyent.com>2018-07-15 19:35:24 -0400
commit6920cc4db7ff7cfb581fbacad920de3d9a681303 (patch)
tree34d19948ed6e0b8779532337a0b2edaaf3d48a33 /usr/src
parent3c4342ab5aea1aeb83d0d4e34d215f0e113daba1 (diff)
downloadillumos-gate-6920cc4db7ff7cfb581fbacad920de3d9a681303.tar.gz
9648 policykit: unused functions
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Michal Nowak <mnowak@startmail.com> Reviewed by: Ken Mays <kmays2000@gmail.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-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)