summaryrefslogtreecommitdiff
path: root/usr/src/lib
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2018-09-11 15:05:24 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2018-09-11 15:06:22 +0000
commit6816448c8b777064c5a9cf6729bcfa0efeb29e4f (patch)
tree5357b5e2f331e5a6b60da7e08673a82b63714f8a /usr/src/lib
parent320339a509cdabf5e7ef29b9822e874e35e0c1bf (diff)
downloadillumos-joyent-6816448c8b777064c5a9cf6729bcfa0efeb29e4f.tar.gz
OS-7227 dkio.h C99 change requires additional lint cleanup
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib')
-rw-r--r--usr/src/lib/libadm/Makefile.com2
-rw-r--r--usr/src/lib/libefi/Makefile.com2
-rw-r--r--usr/src/lib/libsmedia/plugins/Makefile.com3
3 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/lib/libadm/Makefile.com b/usr/src/lib/libadm/Makefile.com
index 4631c50bf4..a496655a3f 100644
--- a/usr/src/lib/libadm/Makefile.com
+++ b/usr/src/lib/libadm/Makefile.com
@@ -20,6 +20,7 @@
#
#
# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2018 Joyent, Inc.
#
LIBRARY= libadm.a
@@ -42,6 +43,7 @@ LIBS= $(DYNLIB) $(LINTLIB)
SRCDIR= ../common
CPPFLAGS += -I ../inc
+CSTD = $(CSTD_GNU99)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
diff --git a/usr/src/lib/libefi/Makefile.com b/usr/src/lib/libefi/Makefile.com
index 3fc915acdd..97a4d579f4 100644
--- a/usr/src/lib/libefi/Makefile.com
+++ b/usr/src/lib/libefi/Makefile.com
@@ -22,6 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
# Use is subject to license terms.
+# Copyright 2018 Joyent, Inc.
#
LIBRARY = libefi.a
@@ -40,6 +41,7 @@ LDLIBS += -luuid -lsmbios -lc
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
+CSTD = $(CSTD_GNU99)
LINTFLAGS64 += -errchk=longptr64
.KEEP_STATE:
diff --git a/usr/src/lib/libsmedia/plugins/Makefile.com b/usr/src/lib/libsmedia/plugins/Makefile.com
index f1fa1c19e2..d31896364e 100644
--- a/usr/src/lib/libsmedia/plugins/Makefile.com
+++ b/usr/src/lib/libsmedia/plugins/Makefile.com
@@ -21,8 +21,8 @@
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright 2018 Joyent, Inc.
#
-# ident "%Z%%M% %I% %E% SMI"
#
LIBS = $(DYNLIB)
@@ -43,6 +43,7 @@ CLEANFILES= $(LINTOUT) $(LINTPLUGIN)
SRCDIR = ../common
+CSTD = $(CSTD_GNU99)
LINTFLAGS += -xu
LINTFLAGS64 += -xu
$(LINTPLUGIN) := SRCS=$(OBJECTS:%.o=../common/%.c)