diff options
author | Patrick Mooney <pmooney@pfmooney.com> | 2020-05-20 19:34:30 +0000 |
---|---|---|
committer | Patrick Mooney <pmooney@pfmooney.com> | 2020-05-25 16:39:31 +0000 |
commit | aee33e58f237f0d3cfeab24295f491937f0f7c79 (patch) | |
tree | f70b58f16a9092c09cc1092f5d11a35babe81fb0 /usr/src/lib/libppt | |
parent | 00509c829a7bda32eeabfd272e5e6307ed93079e (diff) | |
download | illumos-gate-aee33e58f237f0d3cfeab24295f491937f0f7c79.tar.gz |
12766 clean up bhyve lints
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/lib/libppt')
-rw-r--r-- | usr/src/lib/libppt/Makefile | 3 | ||||
-rw-r--r-- | usr/src/lib/libppt/Makefile.com | 11 | ||||
-rw-r--r-- | usr/src/lib/libppt/common/llib-lppt | 19 |
3 files changed, 2 insertions, 31 deletions
diff --git a/usr/src/lib/libppt/Makefile b/usr/src/lib/libppt/Makefile index 21c26d447e..d8f34163ab 100644 --- a/usr/src/lib/libppt/Makefile +++ b/usr/src/lib/libppt/Makefile @@ -24,11 +24,10 @@ all := TARGET= all clean := TARGET= clean clobber := TARGET= clobber install := TARGET= install -lint := TARGET= lint .KEEP_STATE: -all clean clobber install lint: $(SUBDIRS) +all clean clobber install: $(SUBDIRS) install_h: $(ROOTHDRS) diff --git a/usr/src/lib/libppt/Makefile.com b/usr/src/lib/libppt/Makefile.com index 7b2ff4885f..3d5e96f436 100644 --- a/usr/src/lib/libppt/Makefile.com +++ b/usr/src/lib/libppt/Makefile.com @@ -22,25 +22,16 @@ include $(SRC)/lib/Makefile.lib SRCDIR = ../common -LIBS = $(DYNLIB) $(LINTLIB) +LIBS = $(DYNLIB) SRCS = $(SRCDIR)/libppt.c CSTD= $(CSTD_GNU99) C99LMODE= -Xc99=%all -# -# lint doesn't like %4s in sscanf(). -# -LINTFLAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2 -LINTFLAGS64 += -erroff=E_BAD_FORMAT_ARG_TYPE2 - -$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) LDLIBS += -lpcidb -ldevinfo -lcmdutils -lnvpair -lc .KEEP_STATE: all: $(LIBS) -lint: lintcheck - include $(SRC)/lib/Makefile.targ diff --git a/usr/src/lib/libppt/common/llib-lppt b/usr/src/lib/libppt/common/llib-lppt deleted file mode 100644 index dadd992a31..0000000000 --- a/usr/src/lib/libppt/common/llib-lppt +++ /dev/null @@ -1,19 +0,0 @@ -/* - * This file and its contents are supplied under the terms of the - * Common Development and Distribution License ("CDDL"), version 1.0. - * You may only use this file in accordance with the terms of version - * 1.0 of the CDDL. - * - * A full copy of the text of the CDDL should have accompanied this - * source. A copy of the CDDL is also available via the Internet at - * http://www.illumos.org/license/CDDL. - */ - -/* - * Copyright 2018 Joyent, Inc. - */ - -/* LINTLIBRARY */ -/* PROTOLIB1 */ - -#include <libppt.h> |