summaryrefslogtreecommitdiff
path: root/usr/src/lib
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2019-02-09 13:25:02 +0000
committerAndy Fiddaman <omnios@citrus-it.co.uk>2019-02-13 15:35:04 +0000
commit856f710c9dc323b39da5935194d7928ffb99b67f (patch)
treeda616fb4ba5e2578b263bc984595f2571f8b640b /usr/src/lib
parentc78b1a4529122c8f26c5b25b88f01dc4800751a0 (diff)
downloadillumos-joyent-856f710c9dc323b39da5935194d7928ffb99b67f.tar.gz
10361 usr/lib - stop lint library generation and packaging
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Frederik Wessels <wessels147@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib')
-rw-r--r--usr/src/lib/Makefile12
-rw-r--r--usr/src/lib/Makefile.lib28
-rw-r--r--usr/src/lib/fm/libdiagcode/common/llib-ldiagcode32
-rw-r--r--usr/src/lib/fm/libdiskstatus/common/llib-ldiskstatus31
-rw-r--r--usr/src/lib/fm/libfmd_adm/common/llib-lfmd_adm32
-rw-r--r--usr/src/lib/fm/libfmd_agent/common/llib-lfmd_agent29
-rw-r--r--usr/src/lib/fm/libfmd_log/common/llib-lfmd_log32
-rw-r--r--usr/src/lib/fm/libfmd_msg/common/llib-lfmd_msg29
-rw-r--r--usr/src/lib/fm/libfmd_snmp/common/llib-lfmd_snmp32
-rw-r--r--usr/src/lib/fm/libfmevent/common/llib-lfmevent30
-rw-r--r--usr/src/lib/fm/libfmnotify/common/llib-lfmnotify27
-rw-r--r--usr/src/lib/fm/libldom/sparc/llib-lldom31
-rw-r--r--usr/src/lib/fm/libmdesc/common/llib-lmdesc32
-rw-r--r--usr/src/lib/fm/libseslog/common/llib-lseslog30
-rw-r--r--usr/src/lib/fm/topo/libtopo/common/llib-ltopo32
-rw-r--r--usr/src/lib/hal/libhal-storage/common/llib-lhal-storage30
-rw-r--r--usr/src/lib/hal/libhal/common/llib-lhal30
-rw-r--r--usr/src/lib/hbaapi/common/llib-lHBAAPI31
-rw-r--r--usr/src/lib/libadm/common/llib-ladm35
-rw-r--r--usr/src/lib/libads/common/llib-lads31
-rw-r--r--usr/src/lib/libadt_jni/common/llib-ladt_jni41
-rw-r--r--usr/src/lib/libadutils/common/llib-ladutils29
-rw-r--r--usr/src/lib/libaio/common/llib-laio45
-rw-r--r--usr/src/lib/libast/common/llib-last126
-rw-r--r--usr/src/lib/libavl/llib-lavl36
-rw-r--r--usr/src/lib/libbe/common/llib-lbe29
-rw-r--r--usr/src/lib/libbrand/common/llib-lbrand31
-rw-r--r--usr/src/lib/libbsdmalloc/common/llib-lbsdmalloc36
-rw-r--r--usr/src/lib/libbsm/common/llib-lbsm38
-rw-r--r--usr/src/lib/libc/port/llib-lc1862
-rw-r--r--usr/src/lib/libc_db/common/llib-lc_db31
-rw-r--r--usr/src/lib/libcfgadm/common/llib-lcfgadm178
-rw-r--r--usr/src/lib/libcmd/common/llib-lcmd33
-rw-r--r--usr/src/lib/libcmdutils/common/llib-lcmdutils34
-rw-r--r--usr/src/lib/libcommputil/common/llib-lcommputil31
-rw-r--r--usr/src/lib/libcontract/common/llib-lcontract33
-rw-r--r--usr/src/lib/libcpc/common/llib-lcpc32
-rw-r--r--usr/src/lib/libcrypt/common/llib-lcrypt83
-rw-r--r--usr/src/lib/libcryptoutil/common/llib-lcryptoutil32
-rw-r--r--usr/src/lib/libctf/common/llib-lctf32
-rw-r--r--usr/src/lib/libcurses/screen/llib-lcurses1352
-rw-r--r--usr/src/lib/libcustr/common/llib-lcustr20
-rw-r--r--usr/src/lib/libdemangle/common/llib-ldemangle-sys29
-rw-r--r--usr/src/lib/libdevice/llib-ldevice31
-rw-r--r--usr/src/lib/libdevid/llib-ldevid33
-rw-r--r--usr/src/lib/libdevinfo/llib-ldevinfo32
-rw-r--r--usr/src/lib/libdhcpagent/common/llib-ldhcpagent34
-rw-r--r--usr/src/lib/libdhcputil/common/llib-ldhcputil35
-rw-r--r--usr/src/lib/libdisasm/common/llib-ldisasm35
-rw-r--r--usr/src/lib/libdiskmgt/common/llib-ldiskmgt33
-rw-r--r--usr/src/lib/libdladm/common/llib-ldladm40
-rw-r--r--usr/src/lib/libdll/common/llib-ldll32
-rw-r--r--usr/src/lib/libdlpi/common/llib-ldlpi32
-rw-r--r--usr/src/lib/libdoor/common/llib-ldoor44
-rw-r--r--usr/src/lib/libds/common/llib-lds29
-rw-r--r--usr/src/lib/libdscp/llib-ldscp32
-rw-r--r--usr/src/lib/libdtrace/common/llib-ldtrace32
-rw-r--r--usr/src/lib/libefi/common/llib-lefi42
-rw-r--r--usr/src/lib/libelfsign/common/llib-lelfsign32
-rw-r--r--usr/src/lib/libeti/form/common/llib-lform465
-rw-r--r--usr/src/lib/libeti/menu/common/llib-lmenu104
-rw-r--r--usr/src/lib/libeti/panel/common/llib-lpanel124
-rw-r--r--usr/src/lib/libexacct/common/llib-lexacct32
-rw-r--r--usr/src/lib/libfakekernel/common/llib-lfakekernel20
-rw-r--r--usr/src/lib/libfcoe/common/llib-lfcoe29
-rw-r--r--usr/src/lib/libfdisk/common/llib-lfdisk31
-rw-r--r--usr/src/lib/libficl/llib-lficl-sys20
-rw-r--r--usr/src/lib/libfsmgt/common/llib-lfsmgt32
-rw-r--r--usr/src/lib/libfstyp/common/llib-lfstyp30
-rw-r--r--usr/src/lib/libgen/common/llib-lgen42
-rw-r--r--usr/src/lib/libgrubmgmt/common/llib-lgrubmgmt29
-rw-r--r--usr/src/lib/libgss/llib-lgss32
-rw-r--r--usr/src/lib/libhotplug/common/llib-lhotplug29
-rw-r--r--usr/src/lib/libidmap/common/llib-lidmap34
-rw-r--r--usr/src/lib/libilb/common/llib-lilb29
-rw-r--r--usr/src/lib/libima/common/llib-lima30
-rw-r--r--usr/src/lib/libinetsvc/common/llib-linetsvc31
-rw-r--r--usr/src/lib/libinetutil/common/llib-linetutil29
-rw-r--r--usr/src/lib/libinstzones/common/llib-linstzones31
-rw-r--r--usr/src/lib/libintl/common/llib-lintl37
-rw-r--r--usr/src/lib/libipadm/common/llib-lipadm35
-rw-r--r--usr/src/lib/libipd/common/llib-lipd20
-rw-r--r--usr/src/lib/libipmi/common/llib-lipmi31
-rw-r--r--usr/src/lib/libipmp/common/llib-lipmp32
-rw-r--r--usr/src/lib/libipp/llib-lipp34
-rw-r--r--usr/src/lib/libipsecutil/common/llib-lipsecutil32
-rw-r--r--usr/src/lib/libiscsit/common/llib-liscsit30
-rw-r--r--usr/src/lib/libkmf/ber_der/common/llib-lkmfberder31
-rw-r--r--usr/src/lib/libkmf/libkmf/common/llib-lkmf32
-rw-r--r--usr/src/lib/libkstat/common/llib-lkstat46
-rw-r--r--usr/src/lib/libkvm/common/llib-lkvm56
-rw-r--r--usr/src/lib/libldap5/sources/ldap/common/llib-lldap530
-rw-r--r--usr/src/lib/liblgrp/common/llib-llgrp31
-rw-r--r--usr/src/lib/libm/common/llib-lm47
-rw-r--r--usr/src/lib/libmail/common/llib-lmail42
-rw-r--r--usr/src/lib/libmalloc/common/llib-lmalloc36
-rw-r--r--usr/src/lib/libmapid/common/llib-lmapid34
-rw-r--r--usr/src/lib/libmapmalloc/common/llib-lmapmalloc34
-rw-r--r--usr/src/lib/libmd/common/llib-lmd34
-rw-r--r--usr/src/lib/libmd5/common/llib-lmd531
-rw-r--r--usr/src/lib/libmlrpc/common/llib-lmlrpc31
-rw-r--r--usr/src/lib/libndmp/common/llib-lndmp43
-rw-r--r--usr/src/lib/libnls/common/llib-lnls34
-rw-r--r--usr/src/lib/libnsl/common/llib-lnsl1086
-rw-r--r--usr/src/lib/libnvpair/llib-lnvpair32
-rw-r--r--usr/src/lib/libnwam/common/llib-lnwam30
-rw-r--r--usr/src/lib/libofmt/common/llib-lofmt19
-rw-r--r--usr/src/lib/libpam/llib-lpam34
-rw-r--r--usr/src/lib/libpcidb/common/llib-lpcidb30
-rw-r--r--usr/src/lib/libpcp/Makefile.com5
-rw-r--r--usr/src/lib/libpcp/sparc/Makefile9
-rw-r--r--usr/src/lib/libpctx/common/llib-lpctx32
-rw-r--r--usr/src/lib/libpicl/llib-lpicl55
-rw-r--r--usr/src/lib/libpicltree/llib-lpicltree93
-rw-r--r--usr/src/lib/libpkg/common/llib-lpkg36
-rw-r--r--usr/src/lib/libpool/common/llib-lpool32
-rw-r--r--usr/src/lib/libpp/common/llib-lpp32
-rw-r--r--usr/src/lib/libpri/common/llib-lpri31
-rw-r--r--usr/src/lib/libproc/common/llib-lproc392
-rw-r--r--usr/src/lib/libproject/common/llib-lproject40
-rw-r--r--usr/src/lib/libprtdiag/common/llib-lprtdiag33
-rw-r--r--usr/src/lib/libpthread/common/llib-lpthread31
-rw-r--r--usr/src/lib/libraidcfg/common/llib-lraidcfg32
-rw-r--r--usr/src/lib/librcm/llib-lrcm87
-rw-r--r--usr/src/lib/libreparse/common/llib-lreparse46
-rw-r--r--usr/src/lib/libresolv2/common/llib-lresolv59
-rw-r--r--usr/src/lib/librestart/common/llib-lrestart32
-rw-r--r--usr/src/lib/librpcsvc/common/llib-lrpcsvc42
-rw-r--r--usr/src/lib/librsc/Makefile.com11
-rw-r--r--usr/src/lib/librstp/common/llib-lrstp30
-rw-r--r--usr/src/lib/librt/common/llib-lrt60
-rw-r--r--usr/src/lib/libsasl/lib/llib-lsasl52
-rw-r--r--usr/src/lib/libsaveargs/common/llib-lsaveargs17
-rw-r--r--usr/src/lib/libscf/common/llib-lscf32
-rw-r--r--usr/src/lib/libsched/common/llib-lsched37
-rw-r--r--usr/src/lib/libsctp/common/llib-lsctp33
-rw-r--r--usr/src/lib/libsec/common/llib-lsec40
-rw-r--r--usr/src/lib/libsecdb/common/llib-lsecdb36
-rw-r--r--usr/src/lib/libsendfile/common/llib-lsendfile32
-rw-r--r--usr/src/lib/libsff/common/llib-lsff19
-rw-r--r--usr/src/lib/libshare/common/llib-lshare32
-rw-r--r--usr/src/lib/libshell/common/llib-lshell33
-rw-r--r--usr/src/lib/libsip/common/llib-lsip31
-rw-r--r--usr/src/lib/libsldap/common/llib-lsldap246
-rw-r--r--usr/src/lib/libslp/clib/llib-lslp80
-rw-r--r--usr/src/lib/libsmbfs/smb/llib-lsmbfs39
-rw-r--r--usr/src/lib/libsmbios/common/llib-lsmbios32
-rw-r--r--usr/src/lib/libsmedia/library/common/llib-lsmedia31
-rw-r--r--usr/src/lib/libsocket/common/llib-lsocket128
-rw-r--r--usr/src/lib/libsqlite/Makefile.com4
-rw-r--r--usr/src/lib/libsqlite/llib-lsqlite-sys10
-rw-r--r--usr/src/lib/libsrpt/common/llib-lsrpt28
-rw-r--r--usr/src/lib/libstmf/common/llib-lstmf30
-rw-r--r--usr/src/lib/libstmfproxy/common/llib-lstmfproxy29
-rw-r--r--usr/src/lib/libsum/common/llib-lsum32
-rw-r--r--usr/src/lib/libsun_ima/common/llib-lsun_ima31
-rw-r--r--usr/src/lib/libsysevent/llib-lsysevent148
-rw-r--r--usr/src/lib/libtecla/common/llib-ltecla32
-rw-r--r--usr/src/lib/libtermcap/common/llib-ltermcap16
-rw-r--r--usr/src/lib/libthread/common/llib-lthread32
-rw-r--r--usr/src/lib/libtsnet/common/llib-ltsnet32
-rw-r--r--usr/src/lib/libtsol/common/llib-ltsol35
-rw-r--r--usr/src/lib/libumem/common/llib-lumem32
-rw-r--r--usr/src/lib/libuuid/common/llib-luuid47
-rw-r--r--usr/src/lib/libuutil/common/llib-luutil31
-rw-r--r--usr/src/lib/libv12n/common/llib-lv12n29
-rw-r--r--usr/src/lib/libvolmgt/common/llib-lvolmgt63
-rw-r--r--usr/src/lib/libvrrpadm/common/llib-lvrrpadm30
-rw-r--r--usr/src/lib/libvscan/common/llib-lvscan31
-rw-r--r--usr/src/lib/libwrap/llib-lwrap16
-rw-r--r--usr/src/lib/libxcurses/src/libc/llib-lcurses1040
-rw-r--r--usr/src/lib/libxcurses/src/libc/llib-lxcurses1024
-rw-r--r--usr/src/lib/libxcurses2/src/libc/llib-lcurses1024
-rw-r--r--usr/src/lib/libxcurses2/src/libc/llib-lxcurses1024
-rw-r--r--usr/src/lib/libxnet/common/llib-lxnet44
-rw-r--r--usr/src/lib/libzfs/common/llib-lzfs39
-rw-r--r--usr/src/lib/libzfs_core/common/llib-lzfs_core28
-rw-r--r--usr/src/lib/libzfs_jni/common/llib-lzfs_jni33
-rw-r--r--usr/src/lib/libzonecfg/common/llib-lzonecfg32
-rw-r--r--usr/src/lib/libzoneinfo/common/llib-lzoneinfo32
-rw-r--r--usr/src/lib/libzonestat/common/llib-lzonestat30
-rw-r--r--usr/src/lib/libzpool/common/llib-lzpool76
-rw-r--r--usr/src/lib/mpapi/libmpapi/common/llib-lMPAPI31
-rw-r--r--usr/src/lib/passwdutil/llib-lpasswdutil32
-rw-r--r--usr/src/lib/pkcs11/libkcfd/common/llib-lkcfd34
-rw-r--r--usr/src/lib/pkcs11/libpkcs11/common/llib-lpkcs1132
-rw-r--r--usr/src/lib/pkcs11/libsoftcrypto/common/llib-lsoftcrypto42
-rw-r--r--usr/src/lib/policykit/libpolkit/common/llib-lpolkit30
-rw-r--r--usr/src/lib/print/libprint/common/llib-lprint141
-rw-r--r--usr/src/lib/scsi/libscsi/llib-lscsi32
-rw-r--r--usr/src/lib/scsi/libses/llib-lses32
-rw-r--r--usr/src/lib/scsi/libsmp/llib-lsmp31
-rw-r--r--usr/src/lib/smbsrv/libfksmbsrv/common/llib-lfksmbsrv19
-rw-r--r--usr/src/lib/smbsrv/libmlsvc/common/llib-lmlsvc31
-rw-r--r--usr/src/lib/smbsrv/libsmb/common/llib-lsmb31
-rw-r--r--usr/src/lib/smbsrv/libsmbns/common/llib-lsmbns31
-rw-r--r--usr/src/lib/smbsrv/libsmbrp/common/llib-lreparse_smb29
-rw-r--r--usr/src/lib/smhba/common/llib-lSMHBAAPI30
-rw-r--r--usr/src/lib/storage/liba5k/common/llib-la5k46
-rw-r--r--usr/src/lib/storage/libg_fc/common/llib-lg_fc29
-rw-r--r--usr/src/lib/udapl/libdat/common/llib-ldat29
201 files changed, 21 insertions, 17139 deletions
diff --git a/usr/src/lib/Makefile b/usr/src/lib/Makefile
index 7c461eb3fc..8c5142641d 100644
--- a/usr/src/lib/Makefile
+++ b/usr/src/lib/Makefile
@@ -31,6 +31,7 @@
# Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
# Copyright 2017 RackTop Systems.
# Copyirght 2018 Jason King
+# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
#
include ../Makefile.master
@@ -512,7 +513,6 @@ clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
install_h := TARGET= install_h
-lint := TARGET= lint
_dc := TARGET= _dc
_msg := TARGET= _msg
@@ -521,12 +521,12 @@ _msg := TARGET= _msg
#
# For the all and install targets, we clearly must respect library
# dependencies so that the libraries link correctly. However, for
-# the remaining targets (check, clean, clobber, install_h, lint, _dc
+# the remaining targets (check, clean, clobber, install_h, _dc
# and _msg), libraries do not have any dependencies on one another
# and thus respecting dependencies just slows down the build.
# As such, for these rules, we use pattern replacement to explicitly
-# avoid triggering the dependency information. Note that for clean,
-# clobber and lint, we must use $(NOWAIT_SUBDIRS) rather than
+# avoid triggering the dependency information. Note that for clean and
+# clobber, we must use $(NOWAIT_SUBDIRS) rather than
# $(SUBDIRS), to prevent `.WAIT' from expanding to `.WAIT-nodepend'.
#
@@ -539,7 +539,9 @@ install_extra:
@cd ../cmd/sgs; pwd; $(MAKE) install_lib
@pwd
-clean clobber lint: $(NOWAIT_SUBDIRS:%=%-nodepend)
+clean clobber: $(NOWAIT_SUBDIRS:%=%-nodepend)
+
+lint:
install_h check: $(HDRSUBDIRS:%=%-nodepend)
diff --git a/usr/src/lib/Makefile.lib b/usr/src/lib/Makefile.lib
index 384c579cfc..03e35db0af 100644
--- a/usr/src/lib/Makefile.lib
+++ b/usr/src/lib/Makefile.lib
@@ -18,6 +18,7 @@
#
# CDDL HEADER END
#
+# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
# Copyright 2015 Gary Mills
# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
@@ -70,9 +71,9 @@ HDRDIR= /__nonexistent_directory__
# If a component of the build needs to build an archive library
# for its own internal purposes, it can define LIBS for itself
# after including Makefile.lib, like this:
-# LIBS = $(LIBRARY)
+# LIBS = $(LIBRARY)
# or:
-# LIBS = $(LIBRARYCCC)
+# LIBS = $(LIBRARYCCC)
# Archive libraries must not be installed in the proto area.
#
LIBS=
@@ -91,9 +92,6 @@ ROOTLIBDIR= $(ROOT)/usr/lib
ROOTLIBDIR64= $(ROOT)/usr/lib/$(MACH64)
ROOTFS_LIBDIR= $(ROOT)/lib
ROOTFS_LIBDIR64= $(ROOT)/lib/$(MACH64)
-ROOTLINTDIR= $(ROOTLIBDIR)
-ROOTFS_LINTDIR= $(ROOTFS_LIBDIR)
-ROOTFS_LINTDIR64= $(ROOTFS_LIBDIR64)
ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
HDRSRCS= $(HDRS:%=$(HDRDIR)/%)
CHECKHDRS= $(HDRSRCS:%.h=%.check)
@@ -109,9 +107,6 @@ ROOTLINKSCCC= $(ROOTLIBDIR)/$(LIBLINKSCCC)
ROOTLINKSCCC64= $(ROOTLIBDIR64)/$(LIBLINKSCCC)
ROOTFS_LINKSCCC= $(ROOTFS_LIBDIR)/$(LIBLINKSCCC)
ROOTFS_LINKSCCC64= $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC)
-ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
-ROOTFS_LINT= $(LINTSRC:%=$(ROOTFS_LINTDIR)/%)
-ROOTFS_LINT64= $(LINTSRC:%=$(ROOTFS_LINTDIR64)/%)
# Demo rules
DEMOFILES=
@@ -121,11 +116,6 @@ ROOTDEMODIRS=
ROOTDEMOFILES= $(DEMOFILES:%=$(ROOTDEMODIRBASE)/%)
$(ROOTDEMODIRS) := DIRMODE = 755
-LINTLIB= llib-l$(LIBNAME).ln
-LINTFLAGS= -uaxm
-LINTFLAGS64= -uaxm -m64
-LINTSRC= $(LINTLIB:%.ln=%)
-LINTOUT= lint.out
ARFLAGS= r
SONAME= $(DYNLIB)
# For most libraries, we should be able to resolve all symbols at link time,
@@ -200,7 +190,6 @@ $(PICS) := CFLAGS64 += $(CTF_FLAGS)
$(PICS) := CTFCONVERT_POST = $(CTFCONVERT_O)
$(DYNLIB) := CTFMERGE_POST = $(CTFMERGE_LIB)
-$(LINTLIB):= LOG = -DLOGGING
$(LIBRARY):= AROBJS = $(OBJS)
$(LIBRARY):= DIR = objs
$(DYNLIB):= DIR = pics
@@ -216,7 +205,7 @@ $(DYNLIBCCC):= DYNFLAGS = $(HSONAMECCC) $(ZTEXT) $(ZDEFS) \
$(BDIRECT) $(NORUNPATH)
-# build rule for "portable" source
+# build rule for "portable" source
objs/%.o pics/%.o: %.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
@@ -231,15 +220,6 @@ objs/%.o pics/%.o: %.cc
TEXT_DOMAIN= SUNW_OST_OSLIB
#
-# For library source code, we expect that some symbols may not be used or
-# may *appear* to be able to rescoped to static; shut lint up. Never add
-# a flag here unless you're *sure* that all libraries need to be linted
-# with it.
-#
-LINTCHECKFLAGS = -m -erroff=E_NAME_DEF_NOT_USED2
-LINTCHECKFLAGS += -erroff=E_NAME_DECL_NOT_USED_DEF2
-
-#
# Target Architecture
#
TARGETMACH= $(MACH)
diff --git a/usr/src/lib/fm/libdiagcode/common/llib-ldiagcode b/usr/src/lib/fm/libdiagcode/common/llib-ldiagcode
deleted file mode 100644
index cd6b28f864..0000000000
--- a/usr/src/lib/fm/libdiagcode/common/llib-ldiagcode
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <fm/diagcode.h>
diff --git a/usr/src/lib/fm/libdiskstatus/common/llib-ldiskstatus b/usr/src/lib/fm/libdiskstatus/common/llib-ldiskstatus
deleted file mode 100644
index a20222355f..0000000000
--- a/usr/src/lib/fm/libdiskstatus/common/llib-ldiskstatus
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libdiskstatus.h>
diff --git a/usr/src/lib/fm/libfmd_adm/common/llib-lfmd_adm b/usr/src/lib/fm/libfmd_adm/common/llib-lfmd_adm
deleted file mode 100644
index a1124f3abb..0000000000
--- a/usr/src/lib/fm/libfmd_adm/common/llib-lfmd_adm
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <fm/fmd_adm.h>
diff --git a/usr/src/lib/fm/libfmd_agent/common/llib-lfmd_agent b/usr/src/lib/fm/libfmd_agent/common/llib-lfmd_agent
deleted file mode 100644
index 83891359e6..0000000000
--- a/usr/src/lib/fm/libfmd_agent/common/llib-lfmd_agent
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <fm/fmd_agent.h>
diff --git a/usr/src/lib/fm/libfmd_log/common/llib-lfmd_log b/usr/src/lib/fm/libfmd_log/common/llib-lfmd_log
deleted file mode 100644
index 93ed21790c..0000000000
--- a/usr/src/lib/fm/libfmd_log/common/llib-lfmd_log
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <fm/fmd_log.h>
diff --git a/usr/src/lib/fm/libfmd_msg/common/llib-lfmd_msg b/usr/src/lib/fm/libfmd_msg/common/llib-lfmd_msg
deleted file mode 100644
index c7609ca9f7..0000000000
--- a/usr/src/lib/fm/libfmd_msg/common/llib-lfmd_msg
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
diff --git a/usr/src/lib/fm/libfmd_snmp/common/llib-lfmd_snmp b/usr/src/lib/fm/libfmd_snmp/common/llib-lfmd_snmp
deleted file mode 100644
index abcf460a60..0000000000
--- a/usr/src/lib/fm/libfmd_snmp/common/llib-lfmd_snmp
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <fm/fmd_snmp.h>
diff --git a/usr/src/lib/fm/libfmevent/common/llib-lfmevent b/usr/src/lib/fm/libfmevent/common/llib-lfmevent
deleted file mode 100644
index 44c20c3d72..0000000000
--- a/usr/src/lib/fm/libfmevent/common/llib-lfmevent
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <fm/libfmevent.h>
diff --git a/usr/src/lib/fm/libfmnotify/common/llib-lfmnotify b/usr/src/lib/fm/libfmnotify/common/llib-lfmnotify
deleted file mode 100644
index 230bb3efd8..0000000000
--- a/usr/src/lib/fm/libfmnotify/common/llib-lfmnotify
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
diff --git a/usr/src/lib/fm/libldom/sparc/llib-lldom b/usr/src/lib/fm/libldom/sparc/llib-lldom
deleted file mode 100644
index 166e155f5b..0000000000
--- a/usr/src/lib/fm/libldom/sparc/llib-lldom
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <sys/fm/ldom.h>
diff --git a/usr/src/lib/fm/libmdesc/common/llib-lmdesc b/usr/src/lib/fm/libmdesc/common/llib-lmdesc
deleted file mode 100644
index 8d876f05b9..0000000000
--- a/usr/src/lib/fm/libmdesc/common/llib-lmdesc
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <sys/mdesc.h>
diff --git a/usr/src/lib/fm/libseslog/common/llib-lseslog b/usr/src/lib/fm/libseslog/common/llib-lseslog
deleted file mode 100644
index 430d5db938..0000000000
--- a/usr/src/lib/fm/libseslog/common/llib-lseslog
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-
diff --git a/usr/src/lib/fm/topo/libtopo/common/llib-ltopo b/usr/src/lib/fm/topo/libtopo/common/llib-ltopo
deleted file mode 100644
index b6b2228c63..0000000000
--- a/usr/src/lib/fm/topo/libtopo/common/llib-ltopo
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <fm/libtopo.h>
diff --git a/usr/src/lib/hal/libhal-storage/common/llib-lhal-storage b/usr/src/lib/hal/libhal-storage/common/llib-lhal-storage
deleted file mode 100644
index 93af701653..0000000000
--- a/usr/src/lib/hal/libhal-storage/common/llib-lhal-storage
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <hal/libhal-storage.h>
diff --git a/usr/src/lib/hal/libhal/common/llib-lhal b/usr/src/lib/hal/libhal/common/llib-lhal
deleted file mode 100644
index d89da6716b..0000000000
--- a/usr/src/lib/hal/libhal/common/llib-lhal
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <hal/libhal.h>
diff --git a/usr/src/lib/hbaapi/common/llib-lHBAAPI b/usr/src/lib/hbaapi/common/llib-lHBAAPI
deleted file mode 100644
index 8358109a34..0000000000
--- a/usr/src/lib/hbaapi/common/llib-lHBAAPI
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <hbaapi.h>
-#include <hbaapi-sun.h>
diff --git a/usr/src/lib/libadm/common/llib-ladm b/usr/src/lib/libadm/common/llib-ladm
deleted file mode 100644
index e9f241e590..0000000000
--- a/usr/src/lib/libadm/common/llib-ladm
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <sys/types.h>
-#include <sys/vtoc.h>
-#include <devmgmt.h>
-#include "devtab.h"
-#include "libadm.h"
diff --git a/usr/src/lib/libads/common/llib-lads b/usr/src/lib/libads/common/llib-lads
deleted file mode 100644
index 7cdc5c1188..0000000000
--- a/usr/src/lib/libads/common/llib-lads
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include "dsgetdc.h"
diff --git a/usr/src/lib/libadt_jni/common/llib-ladt_jni b/usr/src/lib/libadt_jni/common/llib-ladt_jni
deleted file mode 100644
index 0709b8d091..0000000000
--- a/usr/src/lib/libadt_jni/common/llib-ladt_jni
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <jni.h>
-
-/*
- * No public interfaces are defined by libadt_jni.so.
- * See usr/lib/audit/com/sun/Audit.jar for the contract private
- * Java interface this library supports.
- */
-
-JNIEXPORT jbyteArray JNICALL
-Java_com_sun_audit_AuditSession_startSession(JNIEnv *env, jobject cls,
- jbyteArray jimport, jlong flags);
diff --git a/usr/src/lib/libadutils/common/llib-ladutils b/usr/src/lib/libadutils/common/llib-ladutils
deleted file mode 100644
index e0f09dfe25..0000000000
--- a/usr/src/lib/libadutils/common/llib-ladutils
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include "adutils_impl.h"
diff --git a/usr/src/lib/libaio/common/llib-laio b/usr/src/lib/libaio/common/llib-laio
deleted file mode 100644
index 02d00ba1db..0000000000
--- a/usr/src/lib/libaio/common/llib-laio
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/asynch.h>
-
-int aioread(int fd, caddr_t buf, int bufsz, off_t offset, int whence,
- aio_result_t *resultp);
-int aiowrite(int fd, caddr_t buf, int bufsz, off_t offset, int whence,
- aio_result_t *resultp);
-#if !defined(_LP64)
-int aioread64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
- aio_result_t *resultp);
-int aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
- aio_result_t *resultp);
-#endif /* !_LP64 */
-int aiocancel(aio_result_t *resultp);
-aio_result_t *aiowait(struct timeval *uwait);
diff --git a/usr/src/lib/libast/common/llib-last b/usr/src/lib/libast/common/llib-last
deleted file mode 100644
index 58a6963d54..0000000000
--- a/usr/src/lib/libast/common/llib-last
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * lib/libast/common/llib-last
- *
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#define _FTWALK_H 1
-
-#include <align.h>
-#include <ast.h>
-#include <ast_botch.h>
-#include <ast_ccode.h>
-#include <ast_common.h>
-#include <ast_dir.h>
-#include <ast_dirent.h>
-#include <ast_fcntl.h>
-#include <ast_float.h>
-#include <ast_fs.h>
-#include <ast_getopt.h>
-#include <ast_iconv.h>
-#include <ast_lib.h>
-#include <ast_limits.h>
-#include <ast_map.h>
-#include <ast_mmap.h>
-#include <ast_mode.h>
-#include <ast_ndbm.h>
-#include <ast_nl_types.h>
-#include <ast_param.h>
-#include <ast_standards.h>
-#include <ast_std.h>
-#include <ast_stdio.h>
-#include <ast_sys.h>
-#include <ast_time.h>
-#include <ast_tty.h>
-#include <ast_version.h>
-#include <ast_vfork.h>
-#include <ast_wait.h>
-#include <ast_wchar.h>
-#include <bytesex.h>
-#include <ccode.h>
-#include <cdt.h>
-#include <debug.h>
-#include <dirent.h>
-#include <dt.h>
-#include <endian.h>
-#include <error.h>
-#include <find.h>
-#include <fnmatch.h>
-#include <fnv.h>
-#include <fs3d.h>
-#include <fts.h>
-#include <ftw.h>
-#include <ftwalk.h>
-#include <getopt.h>
-#include <glob.h>
-#include <hash.h>
-#include <hashkey.h>
-#include <hashpart.h>
-#include <iconv.h>
-#include <ip6.h>
-#include <lc.h>
-#include <ls.h>
-#include <magic.h>
-#include <magicid.h>
-#include <mc.h>
-#include <mime.h>
-#include <mnt.h>
-#include <modecanon.h>
-#include <modex.h>
-#include <namval.h>
-#include <nl_types.h>
-#include <option.h>
-#include <preroot.h>
-#include <proc.h>
-#include <prototyped.h>
-#include <re_comp.h>
-#include <recfmt.h>
-#include <regex.h>
-#include <sfdisc.h>
-#include <sfio.h>
-#include <sfio_s.h>
-#include <sfio_t.h>
-#include <sig.h>
-#include <stack.h>
-#include <stak.h>
-#include <stdio.h>
-#include <stk.h>
-#include <swap.h>
-#include <tar.h>
-#include <times.h>
-#include <tm.h>
-#include <tmx.h>
-#include <tok.h>
-#include <tv.h>
-#include <usage.h>
-#include <vdb.h>
-#include <vecargs.h>
-#include <vmalloc.h>
-#include <wait.h>
-#include <wchar.h>
-#include <wordexp.h>
diff --git a/usr/src/lib/libavl/llib-lavl b/usr/src/lib/libavl/llib-lavl
deleted file mode 100644
index 57bd4a2e63..0000000000
--- a/usr/src/lib/libavl/llib-lavl
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-/*
- *
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/debug.h>
-#include <sys/avl.h>
diff --git a/usr/src/lib/libbe/common/llib-lbe b/usr/src/lib/libbe/common/llib-lbe
deleted file mode 100644
index 2330b0a0dd..0000000000
--- a/usr/src/lib/libbe/common/llib-lbe
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libbe.h>
-#include <libbe_priv.h>
diff --git a/usr/src/lib/libbrand/common/llib-lbrand b/usr/src/lib/libbrand/common/llib-lbrand
deleted file mode 100644
index b5b1c81d1a..0000000000
--- a/usr/src/lib/libbrand/common/llib-lbrand
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
- #pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
- #include <libbrand.h>
diff --git a/usr/src/lib/libbsdmalloc/common/llib-lbsdmalloc b/usr/src/lib/libbsdmalloc/common/llib-lbsdmalloc
deleted file mode 100644
index 0a93ff4c09..0000000000
--- a/usr/src/lib/libbsdmalloc/common/llib-lbsdmalloc
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1997 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/types.h>
-#include <unistd.h>
-
-char *malloc(unsigned nbytes);
-int free(char *cp);
-char *realloc(char *cp, unsigned nbytes);
diff --git a/usr/src/lib/libbsm/common/llib-lbsm b/usr/src/lib/libbsm/common/llib-lbsm
deleted file mode 100644
index ece270a6ed..0000000000
--- a/usr/src/lib/libbsm/common/llib-lbsm
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-#include <bsm/devices.h>
-#include <bsm/devalloc.h>
-#include <bsm/audit.h>
-#include <bsm/libbsm.h>
-#include <bsm/audit_record.h>
-#include <bsm/audit_uevents.h>
-#include <bsm/adt.h>
-#include <bsm/adt_event.h>
-#include <bsm/audit_private.h>
-#include <audit_plugin.h>
-#include <audit_scf.h>
diff --git a/usr/src/lib/libc/port/llib-lc b/usr/src/lib/libc/port/llib-lc
deleted file mode 100644
index b7521a2f86..0000000000
--- a/usr/src/lib/libc/port/llib-lc
+++ /dev/null
@@ -1,1862 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2018 Nexenta Systems, Inc.
- * Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved.
- * Copyright (c) 2013 Gary Mills
- * Copyright 2014 Garrett D'Amore <garrett@damore.org>
- * Copyright 2015 Circonus, Inc. All rights reserved.
- * Copyright 2015 Joyent, Inc.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#define __EXTENSIONS__
-
-#include <aio.h>
-#include <alloca.h>
-#include <attr.h>
-#include <atomic.h>
-#include <ctype.h>
-#include <deflt.h>
-#include <dirent.h>
-#include <dlfcn.h>
-#include <door.h>
-#include <err.h>
-#include <sys/errno.h>
-#include <euc.h>
-#include <fcntl.h>
-#include <float.h>
-#include <fmtmsg.h>
-#include <fnmatch.h>
-#include <fts.h>
-#include <ftw.h>
-#include <glob.h>
-#include <getwidth.h>
-#include <grp.h>
-#include <iconv.h>
-#include <langinfo.h>
-#include <libgen.h>
-#include <libw.h>
-#include <locale.h>
-#include <memory.h>
-#include <mon.h>
-#include <mqueue.h>
-#include <nan.h>
-#include <ndbm.h>
-#include <limits.h>
-#include <nl_types.h>
-#include <poll.h>
-#include <project.h>
-#include <priv.h>
-#include <pwd.h>
-#include <rctl.h>
-#include <regex.h>
-#include <rpcsvc/ypclnt.h>
-#include <sched.h>
-#include <search.h>
-#include <semaphore.h>
-#include <setjmp.h>
-#include <shadow.h>
-#include <siginfo.h>
-#include <signal.h>
-#include <stdarg.h>
-#include <ucred.h>
-#include <sys/ucred.h>
-#include <unistd.h>
-#include <ulimit.h>
-#include <utime.h>
-#include <stddef.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stropts.h>
-#include <synch.h>
-#include <sys/acctctl.h>
-#include <sys/acl.h>
-#include <sys/asynch.h>
-#include <sys/byteorder.h>
-#include <sys/cladm.h>
-#include <sys/corectl.h>
-#include <sys/dl.h>
-#include <sys/epoll.h>
-#include <sys/exacct.h>
-#include <sys/fcntl.h>
-#include <sys/file.h>
-#include <sys/fs/namenode.h>
-#include <sys/instance.h>
-#include <sys/ipc.h>
-#include <sys/lwp.h>
-#include <sys/mkdev.h>
-#include <sys/mman.h>
-#include <sys/mnttab.h>
-#include <sys/mount.h>
-#include <sys/msg.h>
-#include <sys/param.h>
-#include <sys/priocntl.h>
-#include <sys/procset.h>
-#include <sys/processor.h>
-#include <sys/pset.h>
-#include <sys/rctl_impl.h>
-#include <sys/sem.h>
-#include <sys/shm.h>
-#include <sys/sid.h>
-#include <sys/signal.h>
-#include <sys/stat.h>
-#include <sys/statvfs.h>
-#include <sys/strlog.h>
-#include <sys/stropts.h>
-#include <sys/syscall.h>
-#include <sys/sysconfig.h>
-#include <sys/syslog.h>
-#include <sys/systeminfo.h>
-#include <sys/task.h>
-#include <sys/termio.h>
-#include <sys/termios.h>
-#include <sys/u8_textprep.h>
-#include <sys/time.h>
-#include <sys/timeb.h>
-#include <sys/times.h>
-#include <sys/types.h>
-#include <sys/uadmin.h>
-#include <sys/utsname.h>
-#include <sys/vfstab.h>
-#include <sys/sendfile.h>
-#include <sys/zone.h>
-#include <termio.h>
-#include <time.h>
-#include <tzfile.h>
-#include <ucontext.h>
-#include <utmpx.h>
-#include <values.h>
-#include <wait.h>
-#include <wchar.h>
-#include <wctype.h>
-#include <widec.h>
-#include <wordexp.h>
-#include <thread.h>
-#include <pthread.h>
-#include <schedctl.h>
-#include <zone.h>
-#include <port.h>
-#include <spawn.h>
-#include <inttypes.h>
-#include <getopt.h>
-#include <stdio_ext.h>
-#if defined(__i386)
-#include <sys/sysi86.h>
-#endif
-#if defined(__amd64)
-#include <stack_unwind.h>
-#endif
-#include <xlocale.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-
-/*
- * This really comes from the crt*.s startup modules.
- */
-char **environ;
-
-/*
- * This is a GNU/Linux/BSD compatibility interface,
- * not declared in any header file.
- */
-const char *__progname;
-
-/*
- * POSIX versions of standard libc routines; these aren't extracted
- * from the headers above since we cannot #define _POSIX_C_SOURCE.
- */
-int __posix_readdir_r(DIR * _RESTRICT_KYWD, struct dirent * _RESTRICT_KYWD,
- struct dirent ** _RESTRICT_KYWD);
-int __posix_getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
-int __posix_getgrnam_r(const char *, struct group *, char *, size_t,
- struct group **);
-int __posix_getpwuid_r(uid_t, struct passwd *, char *, size_t,
- struct passwd **);
-int __posix_getpwnam_r(const char *, struct passwd *, char *, size_t,
- struct passwd **);
-int __posix_sigwait(const sigset_t * _RESTRICT_KYWD, int * _RESTRICT_KYWD);
-char *__posix_asctime_r(const struct tm *_RESTRICT_KYWD, char *_RESTRICT_KYWD);
-char *__posix_ctime_r(const time_t *, char *);
-int __posix_ttyname_r(int, char *, size_t);
-int __posix_getlogin_r(char *, int);
-int __posix_getloginx_r(char *, int);
-
-/*
- * XPG4 versions of standard libc routines; these aren't extracted
- * from the headers above since we cannot #define _XPG4_2.
- */
-int __xpg4_putmsg(int, const struct strbuf *, const struct strbuf *, int);
-int __xpg4_putpmsg(int, const struct strbuf *, const struct strbuf *, int, int);
-
-/*
- * These aren't extracted from the headers above because:
- * - We cannot #define _STRPTIME_DONTZERO
- * - We cannot #define _XPG5
- */
-char *__strptime_dontzero(const char *, const char *, struct tm *);
-long __sysconf_xpg5(int);
-wchar_t *__wcstok_xpg5(wchar_t *_RESTRICT_KYWD,
- const wchar_t *_RESTRICT_KYWD, wchar_t **_RESTRICT_KYWD);
-size_t __wcsftime_xpg5(wchar_t *_RESTRICT_KYWD, size_t,
- const wchar_t *_RESTRICT_KYWD, const struct tm *_RESTRICT_KYWD);
-wint_t __fgetwc_xpg5(__FILE *);
-wint_t __getwc_xpg5(__FILE *);
-wint_t __getwchar_xpg5(void);
-wint_t __fputwc_xpg5(wint_t, __FILE *);
-wint_t __putwc_xpg5(wint_t, __FILE *);
-wint_t __putwchar_xpg5(wint_t);
-wchar_t *__fgetws_xpg5(wchar_t *_RESTRICT_KYWD, int, __FILE *_RESTRICT_KYWD);
-int __fputws_xpg5(const wchar_t *_RESTRICT_KYWD, __FILE *_RESTRICT_KYWD);
-wint_t __ungetwc_xpg5(wint_t, __FILE *);
-
-/*
- * /usr/src/lib/libc/port/gen routines
- */
-
-/* _ctype.c */
-
-/* _loc_data.c */
-
-/* _locale.c */
-
-/* _set_tab.c */
-int _set_tab(const char *loc, int cat);
-
-/* _xftw.c */
-int _xftw(int ver, const char *path, int (*fn)(), int depth);
-
-/* a64l.c */
-long a64l(const char *);
-
-/* abort.c */
-void abort(void);
-
-/* abs.c */
-int abs(int arg);
-long labs(long int arg);
-
-/* assert.c */
-void _assert(const char *assertion, const char *filename, int line_num);
-void __assert_c99(const char *assertion, const char *filename, int line_num,
- const char *funcname);
-
-/* atexit.c */
-int atexit(void(*func)());
-void _exithandle(void);
-
-/* atof.c */
-double atof(const char *p);
-
-/* atoi.c */
-int atoi(const char *p);
-
-/* atol.c */
-long atol(const char *p);
-
-/* basename.c */
-char *basename(char *s);
-
-/* bcmp.c */
-int bcmp(const void *s1, const void *s2, size_t len);
-
-/* bcopy.c */
-void bcopy(const void *s1, void *s2, size_t len);
-
-/* bsearch.c */
-void *bsearch(const void *ky, const void *bs, size_t nel,
- size_t width, int (*compar)());
-
-/* bzero.c */
-void bzero(void *sp, size_t len);
-
-/* calloc.c */
-void *calloc(size_t num, size_t size);
-
-/* catclose.c */
-int catclose(nl_catd catd);
-
-/* catgets.c */
-char *catgets(nl_catd catd, int set_num, int msg_num, const char *s);
-
-/* catopen.c */
-nl_catd catopen(const char *name, int mode);
-
-/* cfgetispeed.c */
-speed_t cfgetispeed(const struct termios *termios_p);
-
-/* cfgetospeed.c */
-speed_t cfgetospeed(const struct termios *termios_p);
-
-/* cfree.c */
-void cfree(void *p, size_t num, size_t size);
-
-/* cfsetispeed.c */
-int cfsetispeed(struct termios *termios_p, speed_t speed);
-
-/* cfsetospeed.c */
-int cfsetospeed(struct termios *termios_p, speed_t speed);
-
-/* cftime.c */
-int cftime(char *buf, char *format, const time_t *t);
-int ascftime(char *buf, const char *format, const struct tm *tm);
-
-/* clock.c */
-clock_t clock(void);
-
-/* closedir.c */
-int closedir(DIR *dirp);
-
-/* confstr.c */
-size_t confstr(int name, char *buf, size_t length);
-
-/* crypt.c */
-void setkey(const char *key);
-void encrypt(char *block, int fake);
-char *crypt(const char *key, const char *salt);
-
-/* csetlen.c */
-int csetlen(int cset);
-int csetcol(int cset);
-
-/* ctime.c */
-char *ctime(const time_t *t);
-char *ctime_r(const time_t *, char *buf, int);
-char *asctime(const struct tm *t);
-char *asctime_r(const struct tm *, char *, int);
-
-/* ctypefcns.c */
-int isalpha(int c);
-int isupper(int c);
-int islower(int c);
-int isdigit(int c);
-int isxdigit(int c);
-int isalnum(int c);
-int isspace(int c);
-int ispunct(int c);
-int isprint(int c);
-int isgraph(int c);
-int iscntrl(int c);
-int isascii(int c);
-int _toupper(int c);
-int _tolower(int c);
-int toascii(int c);
-
-/* daemon.c */
-int daemon(int nochdir, int noclose);
-
-/* directio.c */
-int directio(int filedes, int advice);
-
-/* dirname.c */
-char *dirname(char *s);
-
-/* div.c */
-div_t div(int numer, int denom);
-ldiv_t ldiv(long int numer, long int denom);
-
-/* drand48.c */
-double drand48(void);
-double erand48(unsigned short *xsubi);
-long krand48(unsigned short *xsubi, unsigned int m);
-long lrand48(void);
-long mrand48(void);
-void srand48(long seedval);
-unsigned short *seed48(unsigned short seed16v[3]);
-void lcong48(unsigned short param[7]);
-long nrand48(unsigned short *xsubi);
-long jrand48(unsigned short *xsubi);
-
-/* dup.c */
-int dup(int fildes);
-int dup2(int fildes, int fildes2);
-int dup3(int fildes, int fildes2, int flags);
-
-/* ecvt.c */
-char *ecvt(double value, int ndigit, int *_RESTRICT_KYWD decpt,
- int *_RESTRICT_KYWDsign);
-char *fcvt(double value, int ndigit, int *_RESTRICT_KYWD decpt,
- int *_RESTRICT_KYWD sign);
-
-/* endian.c */
-uint16_t htole16(uint16_t);
-uint32_t htole32(uint32_t);
-uint64_t htole64(uint64_t);
-uint16_t letoh16(uint16_t);
-uint32_t letoh32(uint32_t);
-uint64_t letoh64(uint64_t);
-uint16_t le16toh(uint16_t);
-uint32_t le32toh(uint32_t);
-uint64_t le64toh(uint64_t);
-uint16_t htobe16(uint16_t);
-uint32_t htobe32(uint32_t);
-uint64_t htobe64(uint64_t);
-uint16_t betoh16(uint16_t);
-uint32_t betoh32(uint32_t);
-uint64_t betoh64(uint64_t);
-uint16_t be16toh(uint16_t);
-uint32_t be32toh(uint32_t);
-uint64_t be64toh(uint64_t);
-
-/* err.c */
-void _errfp(FILE *, int, const char *, ...);
-void _verrfp(FILE *, int, const char *, va_list);
-void _errxfp(FILE *, int, const char *, ...);
-void _verrxfp(FILE *, int, const char *, va_list);
-void _warnfp(FILE *, const char *, ...);
-void _vwarnfp(FILE *, const char *, va_list);
-void _warnxfp(FILE *, const char *, ...);
-void _vwarnxfp(FILE *, const char *, va_list);
-
-/* errlst.c */
-
-/* euclen.c */
-int euccol(const unsigned char *s);
-int euclen(const unsigned char *s);
-int eucscol(const unsigned char *s);
-
-/* execvp.c */
-/* VARARGS1 */
-int execlp(const char *, const char *, ...);
-int execvp(const char *name, char *const *argv);
-
-/* fattach.c */
-int fattach(int fildes, const char *path);
-
-/* fdetach.c */
-int fdetach(const char *path);
-
-/* ffs.c */
-int ffs(int field);
-
-/* flock.c */
-int flock(int filedes, int operation);
-
-/* fmtmsg.c */
-int addseverity(int value, const char *string);
-int fmtmsg(long class, const char *label, int severity, const char *text,
- const char *action, const char *tag);
-
-/* freezero.c */
-void freezero(void *, size_t);
-
-/* ftime.c */
-int ftime(struct timeb *tp);
-
-/* ftok.c */
-key_t ftok(const char *path, int id);
-
-/* fts.c */
-FTSENT *fts_children(FTS *, int);
-int fts_close(FTS *);
-FTS *fts_open(char * const *, int, int (*)(const FTSENT **, const FTSENT **));
-FTSENT *fts_read(FTS *);
-int fts_set(FTS *, FTSENT *, int);
-
-/* gcvt.c */
-char *gcvt(double number, int ndigit, char *buf);
-
-/* getcwd.c */
-char *getcwd(char *str, size_t size);
-
-/* getdate.c */
-struct tm *getdate(const char *expression);
-#ifdef getdate_err
-#undef getdate_err
-#endif
-int getdate_err;
-
-/* getdate_data.c */
-
-/* getdate_gd.c */
-
-/* getdtblsize.c */
-int getdtablesize(void);
-
-/* getenv.c */
-char *getenv(const char *name);
-
-/* getexecname.c */
-const char *getexecname(void);
-
-/* getgrnam.c */
-struct group *getgrnam(const char *name);
-struct group *getgrgid(gid_t gid);
-struct group *fgetgrent_r(FILE *, struct group *, char *, int);
-struct group *getgrent_r(struct group *, char *, int);
-struct group *getgrgid_r(gid_t, struct group *, char *, int);
-struct group *getgrnam_r(const char *, struct group *, char *, int);
-
-/* gethostid.c */
-long gethostid(void);
-
-/* gethz.c */
-int gethz(void);
-
-/* getisax.c */
-uint_t getisax(uint32_t *, uint_t);
-
-/* getlogin.c */
-char *getloginx(void);
-char *getloginx_r(char *, int);
-#ifdef getlogin
-#undef getlogin
-#endif /* getlogin */
-char *getlogin(void);
-#ifdef getlogin_r
-#undef getlogin_r
-#endif /* getlogin_r */
-char *getlogin_r(char *, int);
-
-/* getmntent.c */
-int getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp);
-int getmntent(FILE *fd, struct mnttab *mp);
-
-/* getnetgrent.c */
-int setnetgrent(const char *grp);
-int endnetgrent(void);
-int getnetgrent(char **machinep, char **namep, char **domainp);
-
-/* getopt.c */
-int getopt(int argc, char *const *argv, const char *opts);
-
-/* getopt_long.c */
-int getopt_clip(int argc, char *const *argv, const char *optstring,
- const struct option *long_options, int *long_index);
-int getopt_long(int argc, char *const *argv, const char *optstring,
- const struct option *long_options, int *long_index);
-int getopt_long_only(int argc, char *const *argv, const char *optstring,
- const struct option *long_options, int *long_index);
-
-/* getpagesize.c */
-int getpagesize(void);
-
-/* getpw.c */
-int getpw(uid_t uid, char *buf);
-
-/* getpwnam.c */
-struct passwd *getpwnam(const char *name);
-struct passwd *getpwuid(uid_t uid);
-struct passwd *fgetpwent_r(FILE *, struct passwd *, char *, int);
-struct passwd *getpwent_r(struct passwd *, char *, int);
-struct passwd *getpwnam_r(const char *, struct passwd *, char *, int);
-struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int);
-
-/* getrusage.c */
-int getrusage(int who, struct rusage *rusage);
-
-/* gettimeofday.c */
-int gettimeofday(struct timeval *_RESTRICT_KYWD tp, void *_RESTRICT_KYWD);
-
-/* getspent.c */
-void setspent(void);
-void endspent(void);
-struct spwd *getspent(void);
-struct spwd *getspent_r(struct spwd *, char *, int);
-struct spwd *fgetspent(FILE *f);
-struct spwd *fgetspent_r(FILE *, struct spwd *, char *, int);
-struct spwd *getspnam(const char *name);
-struct spwd *getspnam_r(const char *, struct spwd *, char *, int);
-int putspent(const struct spwd *p, FILE *f);
-
-/* getspent_r.c */
-int str2spwd(const char *, int, void *, char *, int);
-
-/* getsubopt.c */
-int getsubopt(char **optionsp, char *const *tokens, char **valuep);
-
-/* gettxt.c */
-char *gettxt(const char *msg_id, const char *dflt_str);
-
-/* getusershell.c */
-char *getusershell(void);
-void endusershell(void);
-void setusershell(void);
-
-/* getut.c */
-struct utmp *getutent(void);
-struct utmp *getutid(const struct utmp *entry);
-struct utmp *getutline(const struct utmp *entry);
-struct utmp *pututline(const struct utmp *entry);
-void setutent(void);
-void endutent(void);
-int utmpname(const char *newfile);
-void updwtmp(const char *file, struct utmp *ut);
-void getutmp(const struct utmpx *utx, struct utmp *ut);
-void getutmpx(const struct utmp *ut, struct utmpx *utx);
-struct utmp *makeut(struct utmp *utmp);
-
-/* getutx.c */
-struct utmpx *getutxent(void);
-struct utmpx *getutxid(const struct utmpx *entry);
-struct utmpx *getutxline(const struct utmpx *entry);
-struct utmpx *pututxline(const struct utmpx *entry);
-void setutxent(void);
-void endutxent(void);
-int utmpxname(const char *newfile);
-void updwtmpx(const char *filex, struct utmpx *utx);
-struct utmpx *makeutx(const struct utmpx *utmp);
-struct utmpx *modutx(const struct utmpx *utp);
-
-/* getvfsent.c */
-int getvfsspec(FILE *fd, struct vfstab *vp, char *special);
-int getvfsfile(FILE *fd, struct vfstab *vp, char *mountp);
-int getvfsany(FILE *fd, struct vfstab *vgetp, struct vfstab *vrefp);
-int getvfsent(FILE *fd, struct vfstab *vp);
-
-/* getwd.c */
-char *getwd(char *pathname);
-
-/* getwidth.c */
-void getwidth(eucwidth_t *eucstruct);
-
-/* hsearch.c */
-int hcreate(size_t size);
-void hdestroy(void);
-ENTRY *hsearch(ENTRY item, ACTION action);
-
-/* iconv.c */
-size_t iconv(iconv_t cd, const char **_RESTRICT_KYWD inbuf,
- size_t *_RESTRICT_KYWD inbytesleft, char **_RESTRICT_KYWD outbuf,
- size_t *_RESTRICT_KYWD outbytesleft);
-int iconv_close(iconv_t cd);
-iconv_t iconv_open(const char *tocode, const char *fromcode);
-
-/* imaxabs.c */
-intmax_t imaxabs(intmax_t j);
-
-/* imaxdiv.c */
-imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
-
-/* index.c */
-char *index(const char *sp, int c);
-
-/* initgroups.c */
-int initgroups(const char *uname, gid_t agroup);
-
-/* innetgr.c */
-int innetgr(const char *group, const char *machine, const char *name,
- const char *domain);
-
-/* insque.c */
-void insque(void *elem, void *pred);
-void remque(void *elem);
-
-/* isaexec.c */
-int isaexec(const char *, char *const *, char *const *);
-
-/* isastream.c */
-int isastream(int fd);
-
-/* isatty.c */
-int isatty(int f);
-
-/* killpg.c */
-int killpg(pid_t pgrp, int sig);
-
-/* l64a.c */
-char *l64a(long lg);
-
-/* lckpwdf.c */
-int lckpwdf(void);
-int ulckpwdf(void);
-
-/* lfind.c */
-void * lfind(const void *ky, const void *bs, size_t *nelp,
- size_t width, int (*compar)());
-
-/* localeconv.c */
-struct lconv *localeconv(void);
-
-/* lsearch.c */
-void * lsearch(const void *ky, void *bs, size_t *nelp,
- size_t width, int (*compar)());
-
-/* madvise.c */
-int madvise(caddr_t addr, size_t len, int advice);
-
-/* malloc.c */
-void *malloc(size_t size);
-void *realloc(void *old, size_t size);
-void free(void *old);
-
-/* mbstowcs.c */
-size_t mbstowcs(wchar_t *_RESTRICT_KYWD pwcs, const char *_RESTRICT_KYWD s,
- size_t n);
-
-/* mbtowc.c */
-int mbtowc(wchar_t *_RESTRICT_KYWD wchar, const char *_RESTRICT_KYWD s,
- size_t n);
-int mblen(const char *s, size_t n);
-
-/* memalign.c */
-void *memalign(size_t align, size_t nbytes);
-
-/* memccpy.c */
-void *memccpy(void *_RESTRICT_KYWDs, const void *_RESTRICT_KYWD s0, int c,
- size_t n);
-
-/* memchr.c */
-void *memchr(const void *sptr, int c1, size_t n);
-
-/* memcmp.c */
-int memcmp(const void *s1, const void *s2, size_t n);
-
-/* memcpy.c */
-void *memcpy(void *_RESTRICT_KYWD s, const void *_RESTRICT_KYWD s0, size_t n);
-
-/* memmove.c */
-void *memmove(void *s, const void *s0, size_t n);
-
-/* memset.c */
-void *memset(void *sp1, int c, size_t n);
-
-/* mkdev.c */
-dev_t __makedev(const int version, const major_t majdev,
- const minor_t mindev);
-major_t __major(const int version, const dev_t devnum);
-minor_t __minor(const int version, const dev_t devnum);
-
-/* mkfifo.c */
-int mkfifo(const char *path, mode_t mode);
-
-/* mktemp.c */
-char *mktemp(char *as);
-
-/* mlock.c */
-int mlock(caddr_t addr, size_t len);
-
-/* mlockall.c */
-int mlockall(int flags);
-
-/* mon.c */
-void monitor(int (*alowpc)(), int (*ahighpc)(), WORD *buffer,
- size_t bufsize, size_t nfunc);
-
-/* msync.c */
-int msync(caddr_t addr, size_t len, int flags);
-
-/* munlock.c */
-int munlock(caddr_t addr, size_t len);
-
-/* munlockall.c */
-int munlockall(void);
-
-/* ndbm.c */
-void dbm_setdefwrite(DBM *db);
-int dbm_flush(DBM *db);
-int dbm_flushpag(DBM *db);
-DBM *dbm_open(const char *file, int flags, mode_t mode);
-void dbm_close(DBM *db);
-int dbm_close_status(DBM *db);
-datum dbm_fetch(DBM *db, datum key);
-int dbm_delete(DBM *db, datum key);
-int dbm_store(DBM *db, datum key, datum dat, int replace);
-datum dbm_firstkey(DBM *db);
-datum dbm_nextkey(DBM *db);
-datum dbm_do_nextkey(DBM *db, datum inkey);
-
-/* new_list.c */
-
-/* nftw.c */
-int nftw(const char *path, int (*fn)(), int depth, int flags);
-
-/* nl_langinfo.c */
-char *nl_langinfo(nl_item item);
-
-/* opendir.c */
-DIR *opendir(const char *filename);
-
-/* opt_data.c */
-
-/* perror.c */
-void perror(const char *s);
-
-/* pipe.c */
-int pipe(int *fds);
-
-/* psiginfo.c */
-void psiginfo(const siginfo_t *sip, const char *s);
-
-/* psignal.c */
-void psignal(int sig, const char *s);
-
-/* pt.c */
-char *ptsname(int fd);
-int unlockpt(int fd);
-int grantpt(int fd);
-
-/* putenv.c */
-int putenv(char *change);
-int setenv(const char *envname, const char *envval, int overwrite);
-int unsetenv(const char *name);
-
-/* putpwent.c */
-int putpwent(const struct passwd *p, FILE *f);
-
-/* qsort.c */
-void qsort(void *base, size_t n, size_t size, int (*compar)());
-
-/* raise.c */
-int raise(int sig);
-
-/* rand.c */
-void srand(unsigned x);
-int rand(void);
-int rand_r(unsigned int *);
-
-/* random.c */
-void srandom(unsigned x);
-char *initstate(unsigned seed, char *arg_state, size_t n);
-char *setstate(const char *arg_state);
-long random(void);
-
-/* rctlops.c */
-int rctl_walk(int (*callback)(const char *, void *), void *walk_data);
-hrtime_t rctlblk_get_firing_time(rctlblk_t *rblk);
-uint_t rctlblk_get_global_action(rctlblk_t *rblk);
-uint_t rctlblk_get_global_flags(rctlblk_t *rblk);
-uint_t rctlblk_get_local_action(rctlblk_t *rblk, int *signalp);
-uint_t rctlblk_get_local_flags(rctlblk_t *rblk);
-id_t rctlblk_get_recipient_pid(rctlblk_t *rblk);
-rctl_priv_t rctlblk_get_privilege(rctlblk_t *rblk);
-rctl_qty_t rctlblk_get_value(rctlblk_t *rblk);
-void rctlblk_set_local_action(rctlblk_t *rblk, uint_t action, int signal);
-void rctlblk_set_local_flags(rctlblk_t *rblk, uint_t flags);
-void rctlblk_set_privilege(rctlblk_t *rblk, rctl_priv_t priv);
-void rctlblk_set_value(rctlblk_t *rblk, rctl_qty_t val);
-size_t rctlblk_size(void);
-
-/* readdir.c */
-struct dirent *readdir(DIR *dirp);
-
-/* reallocarray.c */
-void *reallocarray(void *, size_t, size_t);
-
-/* recallocarray.c */
-void *recallocarray(void *, size_t, size_t, size_t);
-
-/* realpath.c */
-char *realpath(const char *_RESTRICT_KYWD raw, char *_RESTRICT_KYWD canon);
-
-/* regexpr.c */
-char *re_comp(const char *sp);
-int re_exec(const char *p1);
-
-/* rindex.c */
-char *rindex(const char *sp, int c);
-
-/* rename.c */
-int remove(const char *filename);
-int rename(const char *old, const char *new);
-
-/* rewinddir.c */
-#undef rewinddir
-void rewinddir(DIR *dirp);
-
-/* scandir.c */
-int alphasort(const struct dirent **, const struct dirent **);
-int scandir(const char *dirname, struct dirent *(*namelist[]),
- int (*select)(const struct dirent *),
- int (*dcomp)(const struct dirent **, const struct dirent **));
-
-/* scrwidth.c */
-int scrwidth(wchar_t c);
-
-/* seekdir.c */
-void seekdir(DIR *dirp, long loc);
-
-/* select.c */
-int pselect(int nfds,
- fd_set *_RESTRICT_KYWD readfds,
- fd_set *_RESTRICT_KYWD writefds,
- fd_set *_RESTRICT_KYWD errorfds,
- const struct timespec *_RESTRICT_KYWD timeout,
- const sigset_t *_RESTRICT_KYWD sigmask);
-int select(int nfds,
- fd_set *_RESTRICT_KYWD readfds,
- fd_set *_RESTRICT_KYWD writefds,
- fd_set *_RESTRICT_KYWD errorfds,
- struct timeval *_RESTRICT_KYWD timeout);
-
-/* setlocale.c */
-char *setlocale(int cat, const char *loc);
-
-/* setpriority.c */
-int getpriority(int which, id_t who);
-int setpriority(int which, id_t who, int prio);
-
-/* settimeofday.c */
-int settimeofday(struct timeval *tp, void *);
-
-/* sigflag.c */
-int sigflag(int sig, int flag, int on);
-
-/* siglist.c */
-
-/* sigsend.c */
-int sigsend(idtype_t idtype, id_t id, int sig);
-
-/* sigsetops.c */
-int sigfillset(sigset_t *set);
-int sigemptyset(sigset_t *set);
-int sigaddset(sigset_t *set, int sig);
-int sigdelset(sigset_t *set, int sig);
-int sigismember(const sigset_t *set, int sig);
-
-/* scalls.c */
-unsigned sleep(unsigned sleep_tm);
-
-/* ssignal.c */
-int (*ssignal(int sig, int (*fn)())) ();
-int gsignal(int sig);
-
-/* str2id.c */
-
-/* str2sig.c */
-int str2sig(const char *s, int *sigp);
-int sig2str(int i, char *s);
-
-/* strcat.c */
-char *strcat(char *_RESTRICT_KYWD s1, const char *_RESTRICT_KYWD s2);
-
-/* strchr.c */
-char *strchr(const char *sp, int c);
-
-/* strcmp.c */
-int strcmp(const char *s1, const char *s2);
-
-/* strcpy.c */
-char *strcpy(char *_RESTRICT_KYWD s1, const char *_RESTRICT_KYWD s2);
-
-/* strcspn.c */
-size_t strcspn(const char *string, const char *charset);
-
-/* strdup.c */
-char *strdup(const char *s1);
-
-/* strerror.c */
-char *strerror(int errnum);
-int strerror_r(int errnum, char *strerrbuf, size_t buflen);
-
-/* strftime.c */
-size_t strftime(char *_RESTRICT_KYWD s, size_t maxsize,
- const char *_RESTRICT_KYWD format,
- const struct tm *_RESTRICT_KYWD tm);
-
-/* strlen.c */
-size_t strlen(const char *s);
-
-/* strncat.c */
-char *strncat(char *_RESTRICT_KYWD s1, const char *_RESTRICT_KYWD s2, size_t n);
-
-/* strncmp.c */
-int strncmp(const char *s1, const char *s2, size_t n);
-
-/* strncpy.c */
-char *strncpy(char *_RESTRICT_KYWD s1, const char *_RESTRICT_KYWD s2, size_t n);
-
-/* strpbrk.c */
-char *strpbrk(const char *string, const char *brkset);
-
-/* strrchr.c */
-char *strrchr(const char *sp, int c);
-
-/* strsep.c */
-char *strsep(char **stringp, const char *delim);
-
-/* strspn.c */
-size_t strspn(const char *string, const char *charset);
-
-/* strstr.c */
-char *strstr(const char *as1, const char *as2);
-
-/* strtod.c */
-double strtod(const char *_RESTRICT_KYWD cp, char **_RESTRICT_KYWD ptr);
-float strtof(const char *_RESTRICT_KYWD cp, char **_RESTRICT_KYWD ptr);
-long double strtold(const char *_RESTRICT_KYWD cp, char **_RESTRICT_KYWD ptr);
-
-/* strtoimax.c */
-intmax_t strtoimax(const char *_RESTRICT_KYWD nptr,
- char **_RESTRICT_KYWD endptr, int base);
-
-/* strtok.c */
-char *strtok(char *_RESTRICT_KYWD string, const char *_RESTRICT_KYWD sepset);
-char *strtok_r(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
- char **_RESTRICT_KYWD);
-
-/* strtol.c */
-long strtol(const char *_RESTRICT_KYWD str, char **_RESTRICT_KYWD nptr,
- int base);
-
-/* strtonum.c */
-long long strtonum(const char *, long long, long long, const char **);
-
-/* strtoul.c */
-unsigned long strtoul(const char *_RESTRICT_KYWD str,
- char **_RESTRICT_KYWD nptr, int base);
-
-/* strtoumax.c */
-uintmax_t strtoumax(const char *_RESTRICT_KYWD nptr,
- char **_RESTRICT_KYWD endptr, int base);
-
-/* strxfrm.c */
-size_t strxfrm(char *_RESTRICT_KYWD s1, const char *_RESTRICT_KYWD s2,
- size_t n);
-int strcoll(const char *s1, const char *s2);
-
-/* swab.c */
-void swab(const char *_RESTRICT_KYWD from, char *_RESTRICT_KYWD to, ssize_t n);
-
-/* swapctl.c */
-int swapctl(int cmd, void *arg);
-
-/* sysconf.c */
-long sysconf(int name);
-
-/* syslog.c */
-/* VARARGS2 */
-void syslog(int pri, const char *fmt, ...);
-void vsyslog(int pri, const char *fmt, va_list ap);
-void openlog(const char *ident, int logstat, int logfac);
-void closelog(void);
-int setlogmask(int pmask);
-
-/* tcdrain.c */
-int tcdrain(int fildes);
-
-/* tcflow.c */
-int tcflow(int fildes, int action);
-
-/* tcflush.c */
-int tcflush(int fildes, int queue_selector);
-
-/* tcgetattr.c */
-int tcgetattr(int fildes, struct termios *termios_p);
-
-/* tcgetpgrp.c */
-pid_t tcgetpgrp(int fd);
-
-/* tcgetsid.c */
-pid_t tcgetsid(int fd);
-
-/* tcsendbreak.c */
-int tcsendbreak(int fildes, int duration);
-
-/* tcsetattr.c */
-int tcsetattr(int fildes, int optional_actions,
- const struct termios *termios_p);
-
-/* tcsetpgrp.c */
-int tcsetpgrp(int fd, pid_t pgrp);
-
-/* tell.c */
-long tell(int f);
-
-/* telldir.c */
-long telldir(DIR *dirp);
-
-/* tfind.c */
-void *tfind(const void *ky, void *const *rtp, int (*compar)());
-
-/* time_comm.c */
-struct tm *localtime(const time_t *timep);
-struct tm *localtime_r(const time_t *_RESTRICT_KYWD, struct tm *_RESTRICT_KYWD);
-struct tm *gmtime(const time_t *clock);
-struct tm *gmtime_r(const time_t *_RESTRICT_KYWD, struct tm *_RESTRICT_KYWD);
-double difftime(time_t time1, time_t time0);
-time_t mktime(struct tm *timeptr);
-void _ltzset(time_t tim);
-void tzset(void);
-
-/* time_data.c */
-
-/* time_gdata.c */
-
-/* tolower.c */
-int tolower(int c);
-
-/* toupper.c */
-int toupper(int c);
-
-/* truncate.c */
-int ftruncate(int fildes, off_t len);
-int truncate(const char *path, off_t len);
-
-/* tsearch.c */
-void *tsearch(const void *ky, void **rtp, int (*compar)());
-void *tdelete(const void *ky, void **rtp, int (*compar)());
-void twalk(const void *rt, void (*action)());
-
-/* ttyname.c */
-char *ttyname(int f);
-char *_ttyname_dev(dev_t rdev, char *buffer, size_t buflen);
-char *ttyname_r(int, char *, int);
-
-/* ttyslot.c */
-int ttyslot(void);
-
-/* ualarm.c */
-unsigned ualarm(unsigned usecs, unsigned reload);
-
-/* ulimit.c */
-/* VARARGS1 */
-long ulimit(int cmd, ...);
-
-/* scalls.c */
-int usleep(unsigned n);
-
-/* valloc.c */
-void *valloc(size_t size);
-
-/* waitpid.c */
-pid_t wait(int *stat_loc);
-pid_t waitpid(pid_t pid, int *stat_loc, int options);
-pid_t wait3(int *status, int options, struct rusage *rp);
-pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage);
-
-/* wcstombs.c */
-size_t wcstombs(char *_RESTRICT_KYWD s, const wchar_t *_RESTRICT_KYWD pwcs,
- size_t n);
-
-/* wctomb.c */
-int wctomb(char *s, wchar_t wchar);
-
-/* wdata.c */
-
-/* wisprint.c */
-int wisprint(wchar_t c);
-
-/* xgetwidth.c */
-void _xgetwidth(void);
-
-/*
- * /usr/src/lib/libc/port/intl routines
- */
-
-/* gettext.c */
-char *bindtextdomain(const char *domain, const char *binding);
-char *dcgettext(const char *domain, const char *msg_id, const int category);
-char *dgettext(const char *domain, const char *msg_id);
-char *gettext(const char *msg_id);
-char *textdomain(const char *domain);
-
-/*
- * /usr/src/lib/libc/port/print routines
- */
-
-/* fprintf.c */
-/* VARARGS2 */
-int fprintf(FILE *_RESTRICT_KYWD iop, const char *_RESTRICT_KYWD format, ...);
-
-/* printf.c */
-/* VARARGS1 */
-int printf(const char *_RESTRICT_KYWD format, ...);
-
-/* snprintf.c */
-/* VARARGS2 */
-int snprintf(char *_RESTRICT_KYWD string, size_t n,
- const char *_RESTRICT_KYWD format, ...);
-
-/* sprintf.c */
-/* VARARGS2 */
-int sprintf(char *_RESTRICT_KYWD string,
- const char *_RESTRICT_KYWD format, ...);
-
-/* vfprintf.c */
-/* VARARGS2 */
-int vfprintf(FILE *_RESTRICT_KYWD iop, const char *_RESTRICT_KYWD format,
- va_list);
-
-/* vprintf.c */
-/* VARARGS1 */
-int vprintf(const char *_RESTRICT_KYWD format, va_list);
-
-/* vsnprintf.c */
-/* VARARGS2 */
-int vsnprintf(char *_RESTRICT_KYWD string, size_t n,
- const char *_RESTRICT_KYWD format, va_list);
-
-/* vsprintf.c */
-/* VARARGS2 */
-int vsprintf(char *_RESTRICT_KYWD string, const char *_RESTRICT_KYWD format,
- va_list);
-
-/*
- * /usr/src/lib/libc/port/regex routines
- */
-
-/* glob.c */
-extern int glob(const char *restrict pattern, int flags,
- int(*errfunc)(const char *epath, int eerrno), glob_t *restrict pglob);
-extern void globfree(glob_t *pglob);
-
-/* regex.c */
-char *regex(const char *regexp, const char *stringp, ...);
-#ifdef __loc1
-#undef __loc1
-#endif
-char *__loc1;
-
-/* regcmp.c */
-char *regcmp(const char *regexp, ...);
-#ifdef __i_size
-#undef __i_size
-#endif
-int __i_size;
-
-/*
- * /usr/src/lib/libc/port/stdio routines
- */
-
-/* _filbuf.c */
-int _filbuf(FILE *iop);
-
-/* _flsbuf.c */
-int _flsbuf(int ch, FILE *iop);
-
-/* _wrtchk.c */
-int _wrtchk(FILE *iop);
-
-/* clearerr.c */
-void clearerr(FILE *iop);
-
-/* ctermid.c */
-char *ctermid(char *s);
-char *ctermid_r(char *s);
-
-/* cuserid.c */
-char *cuserid(char *s);
-
-/* data.c */
-
-/* doscan.c */
-int _doscan(FILE *iop, const char *fmt, va_list va_alist);
-
-/* fdopen.c */
-FILE *fdopen(int fd, const char *type);
-
-/* feof.c */
-int feof(FILE *iop);
-
-/* ferror.c */
-int ferror(FILE *iop);
-
-/* fgetc.c */
-int fgetc(FILE *iop);
-
-/* fgets.c */
-char *fgets(char *_RESTRICT_KYWD buf, int size, FILE *_RESTRICT_KYWD iop);
-
-/* fileno.c */
-int _fileno(FILE *iop);
-
-/* flush.c */
-void _cleanup(void);
-FILE *_findiop(void);
-typedef unsigned char Uchar;
-void _setbufend(FILE *iop, Uchar *end);
-Uchar *_realbufend(FILE *iop);
-void _bufsync(FILE *iop, Uchar *bufend);
-int _xflsbuf(FILE *iop);
-int fflush(FILE *iop);
-int fclose(FILE *iop);
-
-/* fopen.c */
-FILE *fopen(const char *_RESTRICT_KYWD name, const char *_RESTRICT_KYWD type);
-FILE *freopen(const char *_RESTRICT_KYWD name, const char *_RESTRICT_KYWD type,
- FILE *_RESTRICT_KYWD iop);
-
-/* fpos.c */
-int fgetpos(FILE *_RESTRICT_KYWD stream, fpos_t *_RESTRICT_KYWD pos);
-int fsetpos(FILE *stream, const fpos_t *pos);
-
-/* fputc.c */
-int fputc(int ch, FILE *iop);
-
-/* fputs.c */
-int fputs(const char *_RESTRICT_KYWD ptr, FILE *_RESTRICT_KYWD iop);
-
-/* fread.c */
-size_t fread(void *_RESTRICT_KYWD ptr, size_t size, size_t count,
- FILE *_RESTRICT_KYWD iop);
-
-/* fseek.c */
-int fseek(FILE *iop, long offset, int ptrname);
-
-/* ftell.c */
-long ftell(FILE *iop);
-
-/* fwrite.c */
-size_t fwrite(const void *_RESTRICT_KYWD ptr1, size_t size, size_t count,
- FILE *_RESTRICT_KYWD iop);
-
-/* getc.c */
-int getc(FILE *iop);
-
-/* getchar.c */
-int getchar(void);
-
-/* getpass.c */
-char *getpass(const char *prompt);
-
-/* getpass.c */
-char *getpassphrase(const char *prompt);
-
-/* gets.c */
-char *gets(char *buf);
-
-/* getw.c */
-int getw(FILE *stream);
-
-/* popen.c */
-FILE *popen(const char *cmd, const char *mode);
-int pclose(FILE *ptr);
-
-/* putc.c */
-int putc(int ch, FILE *iop);
-
-/* putchar.c */
-int putchar(int ch);
-
-/* puts.c */
-int puts(const char *ptr);
-
-/* putw.c */
-int putw(int w, FILE *stream);
-
-/* rewind.c */
-void rewind(FILE *iop);
-
-/* scanf.c */
-/* VARARGS1 */
-int scanf(const char *_RESTRICT_KYWD fmt, ...);
-
-/* VARARGS2 */
-int fscanf(FILE *_RESTRICT_KYWD iop, const char *_RESTRICT_KYWD fmt, ...);
-
-/* VARARGS2 */
-int sscanf(const char *_RESTRICT_KYWD str, const char *_RESTRICT_KYWD fmt, ...);
-
-/* setbuf.c */
-void setbuf(FILE *_RESTRICT_KYWD iop, char *_RESTRICT_KYWD abuf);
-
-/* setvbuf.c */
-int setvbuf(FILE *_RESTRICT_KYWD iop, char *_RESTRICT_KYWD abuf, int type,
- size_t size);
-
-/* system.c */
-int system(const char *s);
-
-/* tempnam.c */
-char *tempnam(const char *dir, const char *pfx);
-
-/* tmpfile.c */
-FILE *tmpfile(void);
-
-/* tmpnam.c */
-char *tmpnam(char *s);
-char *tmpnam_r(char *);
-
-/* ungetc.c */
-int ungetc(int c, FILE *iop);
-
-/*
- * /usr/src/lib/libc/port/sys routines
- */
-
-/* exacctsys.c */
-size_t getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize);
-int putacct(idtype_t idtype, id_t id, void *buf, size_t bufsize, int flags);
-int wracct(idtype_t idtype, id_t id, int flags);
-
-/* execl.c */
-/* VARARGS1 */
-int execl(const char *name, const char *, ...);
-
-/* execle.c */
-int execle(const char *, const char *file, ...);
-
-/* execv.c */
-int execv(const char *file, char *const *argv);
-
-/* lockf.c */
-int lockf(int fildes, int function, off_t size);
-
-/* meminfosys.c */
-int meminfo(const uint64_t *inaddr, int addr_count, const uint_t *info_req,
- int info_count, uint64_t *outdata, uint_t *validity);
-
-/* msgsys.c */
-int msgget(key_t key, int msgflg);
-int msgctl(int msqid, int cmd, struct msqid_ds *buf);
-ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg);
-int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg);
-
-/* nfssys.c */
-/*
-int exportfs(char *dir, struct export *ep);
-int nfs_getfh(char *path, fhandle_t *fhp);
-int nfssvc(int fd);
-*/
-
-/* psetsys.c */
-int pset_create(psetid_t *npset);
-int pset_destroy(psetid_t pset);
-int pset_assign(psetid_t pset, processorid_t cpu, psetid_t *opset);
-int pset_assign_forced(psetid_t pset, processorid_t cpu, psetid_t *opset);
-int pset_info(psetid_t pset, int *type, u_int *numcpus, processorid_t *cpulist);
-int pset_bind(psetid_t pset, idtype_t idtype, id_t id, psetid_t *opset);
-int pset_bind_lwp(psetid_t pset, id_t id, pid_t, psetid_t *opset);
-
-/* rctlsys.c */
-int getrctl(const char *name, rctlblk_t *old_rblk, rctlblk_t *new_rblk,
- int flags);
-int setrctl(const char *name, rctlblk_t *old_rblk, rctlblk_t *new_rblk,
- int flags);
-/* (private functions) */
-int setprojrctl(const char *name, rctlblk_t *new_rblk, size_t size, int flags);
-int rctlctl(const char *, rctlblk_t *, int);
-size_t rctllist(char *, size_t);
-
-/* semsys.c */
-int semctl(int semid, int semnum, int cmd, ...);
-int semget(key_t key, int nsems, int semflg);
-int semop(int semid, struct sembuf *sops, size_t nsops);
-
-/* shmsys.c */
-void *shmat(int shmid, const void *shmaddr, int shmflg);
-int shmctl(int shmid, int cmd, struct shmid_ds *buf);
-#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 == 4)
-int shmdt(const void *);
-#else
-int shmdt(char *);
-#endif /* defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 == 4) */
-int shmget(key_t key, size_t size, int shmflg);
-
-/* tasksys.c */
-taskid_t settaskid(projid_t project, uint_t flags);
-taskid_t gettaskid(void);
-projid_t getprojid(void);
-
-/*
- * /usr/src/lib/libc/port/widec routines
- */
-
-/* fgetws.c */
-wchar_t *fgetws(wchar_t *_RESTRICT_KYWD ptr, int size,
- FILE *_RESTRICT_KYWD iop);
-
-/* fputwc.c */
-wint_t fputwc(wint_t wc, FILE *iop);
-wint_t putwc(wint_t wc, FILE *iop);
-
-/* fputws.c */
-int fputws(const wchar_t *_RESTRICT_KYWD ptr, FILE *_RESTRICT_KYWD iop);
-
-/* getwchar.c */
-wint_t getwchar(void);
-
-/* getwidth.c */
-void getwidth(eucwidth_t *eucstruct);
-
-/* getws.c */
-wchar_t *getws(wchar_t *ptr);
-
-/* iswctype.c */
-int iswctype(wint_t wc, wctype_t charclass);
-int iswalpha(wint_t c);
-int iswupper(wint_t c);
-int iswlower(wint_t c);
-int iswdigit(wint_t c);
-int iswxdigit(wint_t c);
-int iswalnum(wint_t c);
-int iswspace(wint_t c);
-int iswpunct(wint_t c);
-int iswprint(wint_t c);
-int iswgraph(wint_t c);
-int iswcntrl(wint_t c);
-int isphonogram(wint_t c);
-int isideogram(wint_t c);
-int isenglish(wint_t c);
-int isnumber(wint_t c);
-int isspecial(wint_t c);
-
-/* libwcollate.c */
-
-/* putwchar.c */
-wint_t putwchar(wint_t c);
-
-/* putws.c */
-int putws(const wchar_t *ptr);
-
-/* scrwidth.c */
-
-/* strtows.c */
-wchar_t *strtows(wchar_t *s1, char *s2);
-char *wstostr(char *s1, wchar_t *s2);
-
-/* trwctype.c */
-wint_t towupper(wint_t c);
-wint_t towlower(wint_t c);
-
-/* ungetwc.c */
-wint_t ungetwc(wint_t wc, FILE *iop);
-
-/* wcollate.c */
-size_t wcsxfrm(wchar_t *_RESTRICT_KYWD s1, const wchar_t *_RESTRICT_KYWD s2,
- size_t n);
-int wcscoll(const wchar_t *s1, const wchar_t *s2);
-
-/* wcsftime.c */
-#if !defined(__amd64) /* XX64 - fix me */
-size_t wcsftime(wchar_t *wcs, size_t maxsize,
- const char *format, const struct tm *timeptr);
-#endif /* __amd64 */
-
-/* wcstring.c */
-wint_t fgetwc(FILE *iop);
-wint_t getwc(FILE *iop);
-int wcwidth(wchar_t wc);
-int wcswidth(const wchar_t *pwcs, size_t n);
-
-/* wcswcs.c */
-wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2);
-
-/* wcsxfrm.c - empty file! */
-
-/* wcsxfrm.xpg4.c */
-
-/* wisprint.c */
-int wisprint(wchar_t c);
-
-/* wscasecmp.c */
-int wscasecmp(const wchar_t *s1, const wchar_t *s2);
-
-/* wscat.c */
-wchar_t *wcscat(wchar_t *_RESTRICT_KYWD s1, const wchar_t *_RESTRICT_KYWD s2);
-wchar_t *wscat(wchar_t *s1, const wchar_t *s2);
-
-/* wschr.c */
-wchar_t *wcschr(const wchar_t *sp, wchar_t c);
-wchar_t *wschr(const wchar_t *sp, wchar_t c);
-
-/* wscmp.c */
-int wcscmp(const wchar_t *s1, const wchar_t *s2);
-int wscmp(const wchar_t *s1, const wchar_t *s2);
-
-/* wscol.c */
-int wscol(const wchar_t *s1);
-
-/* wscpy.c */
-wchar_t *wcscpy(wchar_t *_RESTRICT_KYWD s1, const wchar_t *_RESTRICT_KYWD s2);
-wchar_t *wscpy(wchar_t *s1, const wchar_t *s2);
-
-/* wscspn.c */
-size_t wcscspn(const wchar_t *string, const wchar_t *charset);
-size_t wscspn(const wchar_t *string, const wchar_t *charset);
-
-/* wsdup.c */
-wchar_t *wsdup(const wchar_t *s1);
-
-/* wslen.c */
-size_t wcslen(const wchar_t *s);
-size_t wslen(const wchar_t *s);
-
-/* wsncasecmp.c */
-int wsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n);
-
-/* wsncat.c */
-wchar_t *wcsncat(wchar_t *_RESTRICT_KYWD s1, const wchar_t *_RESTRICT_KYWD s2,
- size_t n);
-wchar_t *wsncat(wchar_t *s1, const wchar_t *s2, size_t n);
-
-/* wsncmp.c */
-int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n);
-int wsncmp(const wchar_t *s1, const wchar_t *s2, size_t n);
-
-/* wsncpy.c */
-wchar_t *wcsncpy(wchar_t *_RESTRICT_KYWD s1, const wchar_t *_RESTRICT_KYWD s2,
- size_t n);
-wchar_t *wsncpy(wchar_t *s1, const wchar_t *s2, size_t n);
-
-/* wspbrk.c */
-wchar_t *wcspbrk(const wchar_t *string, const wchar_t *brkset);
-wchar_t *wspbrk(const wchar_t *string, const wchar_t *brkset);
-
-/* wsprintf.c */
-int wsprintf(wchar_t *wstring, const char *format, ...);
-
-/* wsrchr.c */
-wchar_t *wcsrchr(const wchar_t *sp, wchar_t c);
-wchar_t *wsrchr(const wchar_t *sp, wchar_t c);
-
-/* wsscanf.c */
-int wsscanf(wchar_t *s, const char *format, ...);
-
-/* wssize.c */
-
-/* wsspn.c */
-size_t wcsspn(const wchar_t *string, const wchar_t *charset);
-size_t wsspn(const wchar_t *string, const wchar_t *charset);
-
-/* wstod.c */
-double wcstod(const wchar_t *_RESTRICT_KYWD cp, wchar_t **_RESTRICT_KYWD ptr);
-float wcstof(const wchar_t *_RESTRICT_KYWD cp, wchar_t **_RESTRICT_KYWD ptr);
-long double wcstold(const wchar_t *_RESTRICT_KYWD cp,
- wchar_t **_RESTRICT_KYWD ptr);
-double wstod(const wchar_t *cp, wchar_t **ptr);
-
-/* wstok.c */
-#if !defined(__amd64) /* XX64 - fix me */
-wchar_t *wcstok(wchar_t *string, const wchar_t *sepset);
-wchar_t *wstok(wchar_t *string, const wchar_t *sepset);
-#endif /* __amd64 */
-
-/* wcstol.c */
-long wcstol(const wchar_t *_RESTRICT_KYWD str, wchar_t **_RESTRICT_KYWD ptr,
- int base);
-long long wcstoll(const wchar_t *_RESTRICT_KYWD str,
- wchar_t **_RESTRICT_KYWD ptr, int base);
-
-/* wcstoul.c */
-unsigned long wcstoul(const wchar_t *_RESTRICT_KYWD str,
- wchar_t **_RESTRICT_KYWD ptr, int base);
-unsigned long long wcstoull(const wchar_t *_RESTRICT_KYWD str,
- wchar_t **_RESTRICT_KYWD ptr, int base);
-
-/* wcstoimax.c */
-intmax_t wcstoimax(const wchar_t *_RESTRICT_KYWD nptr,
- wchar_t **_RESTRICT_KYWD endptr, int base);
-uintmax_t wcstoumax(const wchar_t *_RESTRICT_KYWD nptr,
- wchar_t **_RESTRICT_KYWD endptr, int base);
-
-/* wstol.c */
-long wstol(const wchar_t *str, wchar_t **ptr, int base);
-
-/* wstoll.c */
-long long wstoll(const wchar_t *str, wchar_t **ptr, int base);
-long long watoll(const wchar_t *p);
-
-/* wsxfrm.c */
-size_t wsxfrm(wchar_t *s1, const wchar_t *s2, size_t n);
-int wscoll(const wchar_t *s1, const wchar_t *s2);
-
-/*
- * /usr/src/lib/libc/port/gen/event_port.c
- */
-int port_dispatch(int port, int flags, int source, int events, uintptr_t object,
- void *user);
-
-/*
- * /usr/src/lib/libc/$MACH/gen routines
- */
-
-/* alloca.s */
-
-void *__builtin_alloca(size_t);
-
-/*
- * modctl(int arg, ...) and utssys(...) are not available from a header
- * file, but our utilities which make use of it should be able to be
- * lint clean.
- */
-int modctl(int arg, ...);
-int utssys(void *buf, int arg, int type, void *outbp);
-
-
-typedef float single;
-typedef unsigned extended[3];
-typedef long double quadruple;
-typedef unsigned fp_exception_field_type;
-
-typedef char decimal_string[512];
-
-enum fp_class_type {
- fp_zero = 0,
- fp_subnormal = 1,
- fp_normal = 2,
- fp_infinity = 3,
- fp_quiet = 4,
- fp_signaling = 5
-};
-
-enum fp_direction_type {
- fp_nearest = 0,
- fp_tozero = 1,
- fp_positive = 2,
- fp_negative = 3
-};
-
-typedef struct {
- enum fp_class_type fpclass;
- int sign;
- int exponent;
- decimal_string ds;
- int more;
- int ndigits;
-} decimal_record;
-
-enum decimal_form {
- fixed_form,
- floating_form
-};
-
-typedef struct {
- enum fp_direction_type rd;
- enum decimal_form df;
- int ndigits;
-} decimal_mode;
-
-enum decimal_string_form {
- invalid_form,
- whitespace_form,
- fixed_int_form,
- fixed_intdot_form,
- fixed_dotfrac_form,
- fixed_intdotfrac_form,
- floating_int_form,
- floating_intdot_form,
- floating_dotfrac_form,
- floating_intdotfrac_form,
- inf_form,
- infinity_form,
- nan_form,
- nanstring_form
-};
-
-typedef int sigfpe_code_type;
-
-typedef void (*sigfpe_handler_type)();
-
-extern sigfpe_handler_type sigfpe(sigfpe_code_type, sigfpe_handler_type);
-
-extern void single_to_decimal(single *, decimal_mode *, decimal_record *,
- fp_exception_field_type *);
-
-extern void double_to_decimal(double *, decimal_mode *, decimal_record *,
- fp_exception_field_type *);
-extern void extended_to_decimal(extended *, decimal_mode *,
- decimal_record *, fp_exception_field_type *);
-extern void quadruple_to_decimal(quadruple *, decimal_mode *,
- decimal_record *, fp_exception_field_type *);
-extern void decimal_to_single(single *, decimal_mode *, decimal_record *,
- fp_exception_field_type *);
-extern void decimal_to_double(double *, decimal_mode *, decimal_record *,
- fp_exception_field_type *);
-extern void decimal_to_extended(extended *, decimal_mode *,
- decimal_record *, fp_exception_field_type *);
-extern void decimal_to_quadruple(quadruple *, decimal_mode *,
- decimal_record *, fp_exception_field_type *);
-extern void string_to_decimal(char **, int, int, decimal_record *,
- enum decimal_string_form *, char **);
-extern void func_to_decimal(char **, int, int, decimal_record *,
- enum decimal_string_form *, char **,
- int (*)(void), int *, int (*)(int));
-extern void file_to_decimal(char **, int, int, decimal_record *,
- enum decimal_string_form *, char **,
- FILE *, int *);
-extern char *seconvert(single *, int, int *, int *, char *);
-extern char *sfconvert(single *, int, int *, int *, char *);
-extern char *sgconvert(single *, int, int, char *);
-extern char *econvert(double, int, int *, int *, char *);
-extern char *fconvert(double, int, int *, int *, char *);
-extern char *gconvert(double, int, int, char *);
-extern char *qeconvert(quadruple *, int, int *, int *, char *);
-extern char *qfconvert(quadruple *, int, int *, int *, char *);
-extern char *qgconvert(quadruple *, int, int, char *);
-
-extern void __assert(const char *, const char *, int);
-
-extern int setjmp(jmp_buf);
-extern void longjmp(jmp_buf, int);
-extern int sigsetjmp(sigjmp_buf, int);
-extern void siglongjmp(sigjmp_buf, int);
-
-int uname(struct utsname *);
-int _uname(struct utsname *);
-
-int errno;
-int *___errno()
-{ return (&errno); }
-
-extern int getloadavg(double [], int);
-
-extern long pcsample(uintptr_t [], long);
-
-int fstat(int, struct stat *);
-int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD);
-int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD);
-int mknod(const char *, mode_t, dev_t);
-
-extern int __init_daemon_priv(int, uid_t uid, gid_t gid, ...);
-extern void __fini_daemon_priv(const char *, ...);
-extern int __init_suid_priv(int, ...);
-extern int __priv_bracket(priv_op_t);
-extern void __priv_relinquish(void);
-extern const char * __priv_getsetbynum(const void *, int);
-extern char * __priv_set_to_str(void *, const priv_set_t *, char, int);
-
-/* private interface to get the groups list for a certain user */
-int _getgroupsbymember(const char *, gid_t[], int, int);
-
-/* private interface for use only by java */
-volatile sc_shared_t *volatile *_thr_schedctl(void);
-
-/* private interface to unmount all autofs mounts */
-int _autofssys(enum autofssys_op, void *);
-
-/* label.c */
-extern int is_system_labeled(void);
-
-extern int uconv_u16tou32(const uint16_t *, size_t *, uint32_t *, size_t *,
- int);
-extern int uconv_u16tou8(const uint16_t *, size_t *, uchar_t *, size_t *, int);
-extern int uconv_u32tou16(const uint32_t *, size_t *, uint16_t *, size_t *,
- int);
-extern int uconv_u32tou8(const uint32_t *, size_t *, uchar_t *, size_t *, int);
-extern int uconv_u8tou16(const uchar_t *, size_t *, uint16_t *, size_t *, int);
-extern int uconv_u8tou32(const uchar_t *, size_t *, uint32_t *, size_t *, int);
-extern int u8_validate(char *, size_t, char **, int, int *);
-extern int u8_strcmp(const char *, const char *, size_t, int, size_t, int *);
-extern size_t u8_textprep_str(char *, size_t *, char *, size_t *, int, size_t,
- int *);
-
-/* private locale interfaces */
-wint_t __nextwctype(wint_t, wctype_t);
-int __iswrune(wint_t);
-
-/* inet_ntop.c */
-const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
-
-/* inet_pton.c */
-int inet_pton(int af, const char *src, void *dst);
-
-/* inet_ntoa.c */
-char *inet_ntoa_r(struct in_addr in, char b[]);
-char *inet_ntoa(struct in_addr in);
-in_addr_t inet_addr(const char *cp);
-in_addr_t inet_netof(struct in_addr in);
diff --git a/usr/src/lib/libc_db/common/llib-lc_db b/usr/src/lib/libc_db/common/llib-lc_db
deleted file mode 100644
index 18325a87e5..0000000000
--- a/usr/src/lib/libc_db/common/llib-lc_db
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1999 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <thread_db.h>
diff --git a/usr/src/lib/libcfgadm/common/llib-lcfgadm b/usr/src/lib/libcfgadm/common/llib-lcfgadm
deleted file mode 100644
index 57cccd5802..0000000000
--- a/usr/src/lib/libcfgadm/common/llib-lcfgadm
+++ /dev/null
@@ -1,178 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-/*
- * Copyright 1998-1999, 2002 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/param.h>
-#include <config_admin.h>
-
-cfga_err_t
-config_change_state(
- cfga_cmd_t state_change_cmd,
- int num_ap_ids,
- char * const *ap_ids,
- const char *options,
- struct cfga_confirm *confp,
- struct cfga_msg *msgp,
- char **errstring,
- cfga_flags_t flags);
-
-cfga_err_t
-config_private_func(
- const char *function,
- int num_ap_ids,
- char * const *ap_ids,
- const char *options,
- struct cfga_confirm *confp,
- struct cfga_msg *msgp,
- char **errstring,
- cfga_flags_t flags);
-
-cfga_err_t
-config_test(
- int num_ap_ids,
- char * const *ap_ids,
- const char *options,
- struct cfga_msg *msgp,
- char **errstring,
- cfga_flags_t flags);
-
-cfga_err_t
-config_stat(
- int num_ap_ids,
- char * const *ap_ids,
- struct cfga_stat_data *buf,
- const char *options,
- char **errstring);
-
-cfga_err_t
-config_list(
- struct cfga_stat_data **ap_di_list,
- int *nlist,
- const char *options,
- char **errstring);
-
-cfga_err_t
-config_list_ext(
- int num_ap_ids,
- char *const *ap_ids,
- struct cfga_list_data **ap_id_list,
- int *nlist,
- const char* options,
- const char *listopts,
- char **errstring,
- cfga_flags_t flags);
-
-cfga_err_t
-config_help(
- int num_ap_ids,
- char * const *ap_ids,
- struct cfga_msg *msgp,
- const char *options,
- cfga_flags_t flags);
-
-const char *
-config_strerror(
- cfga_err_t cfgerrnum);
-
-int
-config_ap_id_cmp(
- const cfga_ap_log_id_t ap_id1,
- const cfga_ap_log_id_t ap_id2);
-
-void
-config_unload_libs();
-
-#ifdef CFGA_PLUGIN_LIB
-
-cfga_err_t
-cfga_change_state(
- cfga_cmd_t,
- const char *,
- const char *,
- struct cfga_confirm *,
- struct cfga_msg *,
- char **,
- cfga_flags_t);
-
-cfga_err_t
-cfga_private_func(
- const char *,
- const char *,
- const char *,
- struct cfga_confirm *,
- struct cfga_msg *,
- char **,
- cfga_flags_t);
-
-cfga_err_t
-cfga_test(
- const char *,
- const char *,
- struct cfga_msg *,
- char **,
- cfga_flags_t);
-
-cfga_err_t
-cfga_stat(
- const char *,
- struct cfga_stat_data *,
- const char *,
- char **);
-
-cfga_err_t
-cfga_list(
- const char *,
- struct cfga_stat_data **,
- int *,
- const char *,
- char **);
-
-cfga_err_t
-cfga_list_ext(
- const char *,
- struct cfga_list_data **,
- int *,
- const char *,
- const char *,
- char **,
- cfga_flags_t);
-
-cfga_err_t
-cfga_help(
- struct cfga_msg *,
- const char *,
- cfga_flags_t);
-
-int
-cfga_ap_id_cmp(
- const cfga_ap_log_id_t,
- const cfga_ap_log_id_t);
-
-#endif
diff --git a/usr/src/lib/libcmd/common/llib-lcmd b/usr/src/lib/libcmd/common/llib-lcmd
deleted file mode 100644
index f87a732fa8..0000000000
--- a/usr/src/lib/libcmd/common/llib-lcmd
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * lib/libcmd/common/llib-lcmd
- *
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <cmd.h>
-#include <cmdext.h>
diff --git a/usr/src/lib/libcmdutils/common/llib-lcmdutils b/usr/src/lib/libcmdutils/common/llib-lcmdutils
deleted file mode 100644
index 4236d96186..0000000000
--- a/usr/src/lib/libcmdutils/common/llib-lcmdutils
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/avl.h>
-#include <sys/types.h>
-#include <stdlib.h>
-#include <libcmdutils.h>
diff --git a/usr/src/lib/libcommputil/common/llib-lcommputil b/usr/src/lib/libcommputil/common/llib-lcommputil
deleted file mode 100644
index 834e4c80ac..0000000000
--- a/usr/src/lib/libcommputil/common/llib-lcommputil
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-#include <sdp.h>
diff --git a/usr/src/lib/libcontract/common/llib-lcontract b/usr/src/lib/libcontract/common/llib-lcontract
deleted file mode 100644
index a93b64367e..0000000000
--- a/usr/src/lib/libcontract/common/llib-lcontract
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libcontract.h>
-#include <libcontract_priv.h>
diff --git a/usr/src/lib/libcpc/common/llib-lcpc b/usr/src/lib/libcpc/common/llib-lcpc
deleted file mode 100644
index 1650d06f7e..0000000000
--- a/usr/src/lib/libcpc/common/llib-lcpc
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include "libcpc.h"
diff --git a/usr/src/lib/libcrypt/common/llib-lcrypt b/usr/src/lib/libcrypt/common/llib-lcrypt
deleted file mode 100644
index 5063b0a32e..0000000000
--- a/usr/src/lib/libcrypt/common/llib-lcrypt
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1997, 2000 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <stdio.h>
-#include <sys/types.h>
-#include <des/softdes.h>
-#include <des/desdata.h>
-#include <sys/des.h>
-
-/*
- * usr/src/lib/libcrypt
- */
-
-/* crypt.c */
-void setkey(const char *key);
-void encrypt(char *block, int edflag);
-char *crypt(const char *pw, const char *salt);
-
-/* cryptio.c */
-int _run_setkey(int p[2], const char *keyparam);
-int run_setkey(int p[2], const char *keyparam);
-int _run_crypt(long offset, char *buffer, unsigned int count, int p[2]);
-int run_crypt(long offset, char *buffer, unsigned int count, int p[2]);
-int _makekey(int b[2]);
-int makekey(int b[2]);
-int crypt_close_nolock(int p[2]);
-int _crypt_close(int p[2]);
-int crypt_close(int p[2]);
-
-/* des.c */
-int cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec);
-int ecb_crypt(char *key, char *buf, size_t len, unsigned int mode);
-
-/* des_crypt.c */
-void _des_setkey(const char *key);
-void des_setkey(const char *key);
-void _des_encrypt(char *block, int edflag);
-void des_encrypt(char *block, int edflag);
-char *des_crypt(const char *pw, const char *salt);
-
-/* des_decrypt.c */
-void _des_decrypt1(char *block, char *L, char *IP, char *R, char *preS,
- char *E, char KS[][48], char S[][64], char *f,
- char *tempL, char *P, char *FP);
-
-/* des_encrypt.c */
-void des_encrypt1(char *block, char *L, char *IP, char *R, char *preS,
- char *E, char KS[][48], char S[][64], char *f,
- char *tempL, char *P, char *FP);
-void _des_encrypt1(char *block, char *L, char *IP, char *R, char *preS,
- char *E, char KS[][48], char S[][64], char *f,
- char *tempL, char *P, char *FP);
-
-/* des_soft.c */
-void des_setparity(char *p);
-int __des_crypt(char *buf, unsigned len, struct desparams *desp);
diff --git a/usr/src/lib/libcryptoutil/common/llib-lcryptoutil b/usr/src/lib/libcryptoutil/common/llib-lcryptoutil
deleted file mode 100644
index 6f2f6bf5db..0000000000
--- a/usr/src/lib/libcryptoutil/common/llib-lcryptoutil
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <cryptoutil.h>
diff --git a/usr/src/lib/libctf/common/llib-lctf b/usr/src/lib/libctf/common/llib-lctf
deleted file mode 100644
index 53310dec3c..0000000000
--- a/usr/src/lib/libctf/common/llib-lctf
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libctf.h>
diff --git a/usr/src/lib/libcurses/screen/llib-lcurses b/usr/src/lib/libcurses/screen/llib-lcurses
deleted file mode 100644
index b1a0272a34..0000000000
--- a/usr/src/lib/libcurses/screen/llib-lcurses
+++ /dev/null
@@ -1,1352 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <stdio.h>
-#include <sys/types.h>
-#include <stdarg.h>
-#include <curses.h>
-#include "term.h"
-#include "print.h"
-
-/*
- * usr/src/lib/libcurses/screen
- */
-
-/* V2.__sscans.c */
-int __sscans(WINDOW *win, char *fmt, ...);
-
-/* V2._sprintw.c */
-int _sprintw(WINDOW *win, char *fmt, ...);
-
-/* V2.makenew.c */
-WINDOW *makenew(int num_lines, int num_cols, int begy, int begx);
-
-/* V3.m_addch.c */
-int m_addch(int c);
-
-/* V3.m_addstr.c */
-int m_addstr(char *str);
-
-/* V3.m_clear.c */
-int m_clear(void);
-
-/* V3.m_erase.c */
-int m_erase(void);
-
-/* V3.m_initscr.c */
-WINDOW *m_initscr(void);
-
-/* V3.m_move.c */
-int m_move(int x, int y);
-
-/* V3.m_newterm.c */
-SCREEN *m_newterm(char *type, FILE *outfptr, FILE *infptr);
-
-/* V3.m_refresh.c */
-int m_refresh(void);
-
-/* V3.upd_old_y.c */
-void _update_old_y_area(WINDOW *win, int nlines, int ncols, int start_line,
- int start_col);
-
-/* _addch.c */
-int addch(chtype ch);
-
-/* _addchnstr.c */
-int addchnstr(chtype *s, int n);
-
-/* _addchstr.c */
-int addchstr(chtype *s);
-
-/* _addnstr.c */
-int addnstr(char *s, int n);
-
-/* _addnwstr.c */
-int addnwstr(wchar_t *s, int n);
-
-/* _addstr.c */
-int addstr(char *s);
-
-/* _addwch.c */
-int addwch(chtype ch);
-
-/* _addwchnstr.c */
-int addwchnstr(chtype *str, int n);
-
-/* _addwchstr.c */
-int addwchstr(chtype *str);
-
-/* _addwstr.c */
-int addwstr(wchar_t *ws);
-
-/* _attroff.c */
-int attroff(chtype at);
-
-/* _attron.c */
-int attron(chtype at);
-
-/* _attrset.c */
-int attrset(chtype at);
-
-/* _beep.c */
-int beep(void);
-
-/* _bkgd.c */
-int bkgd(chtype c);
-
-/* _bkgdset.c */
-void bkgdset(chtype c);
-
-/* _border.c */
-int border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr,
- chtype bl, chtype br);
-
-/* _clear.c */
-int clear(void);
-
-/* _clrtobot.c */
-int clrtobot(void);
-
-/* _clrtoeol.c */
-int clrtoeol(void);
-
-/* _crmode.c */
-#undef crmode
-int crmode(void);
-
-/* _del_curterm.c */
-int del_curterm(TERMINAL *terminal);
-
-/* _delch.c */
-int delch(void);
-
-/* _deleteln.c */
-int deleteln(void);
-
-/* _echo.c */
-int echo(void);
-
-/* _echochar.c */
-int echochar(chtype ch);
-
-/* _echowchar.c */
-int echowchar(chtype ch);
-
-/* _erase.c */
-int erase(void);
-
-/* _fixterm.c */
-int fixterm(void);
-
-/* _flash.c */
-int flash(void);
-
-/* _garbagdlins.c */
-int garbagedlines(WINDOW *win, int start, int finish);
-
-/* _garbagedwin.c */
-int garbagedwin(WINDOW *win);
-
-/* _getch.c */
-int getch(void);
-
-/* _getnwstr.c */
-int getnwstr(wchar_t *ws, int n);
-
-/* _getstr.c */
-int getstr(char *str);
-
-/* _getwch.c */
-int getwch(void);
-
-/* _getwstr.c */
-int getwstr(wchar_t *ws);
-
-/* _halfdelay.c */
-int halfdelay(int tens);
-
-/* _hline.c */
-int hline(chtype horch, int num_chars);
-
-/* _inch.c */
-chtype inch(void);
-
-/* _inchnstr.c */
-int inchnstr(chtype *s, int n);
-
-/* _inchstr.c */
-int inchstr(chtype *s);
-
-/* _innstr.c */
-int innstr(char *s, int n);
-
-/* _innwstr.c */
-int innwstr(wchar_t *ws, int n);
-
-/* _insch.c */
-int insch(chtype c);
-
-/* _insdelln.c */
-int insdelln(int id);
-
-/* _insertln.c */
-int insertln(void);
-
-/* _insnstr.c */
-int insnstr(char *s, int n);
-
-/* _insnwstr.c */
-int insnwstr(wchar_t *ws, int n);
-
-/* _insstr.c */
-int insstr(char *s);
-
-/* _instr.c */
-int instr(char *s);
-
-/* _inswch.c */
-int inswch(chtype c);
-
-/* _inswstr.c */
-int inswstr(wchar_t *ws);
-
-/* _intrflush.c */
-int intrflush(WINDOW *win, int flag);
-
-/* _inwch.c */
-chtype inwch(void);
-
-/* _inwchnstr.c */
-int inwchnstr(chtype *str, int n);
-
-/* _inwchstr.c */
-int inwchstr(chtype *str);
-
-/* _inwstr.c */
-int inwstr(wchar_t *ws);
-
-/* _meta.c */
-int meta(WINDOW *win, int flag);
-
-/* _move.c */
-int move(int y, int x);
-
-/* _mvaddch.c */
-int mvaddch(int y, int x, chtype ch);
-
-/* _mvaddchnstr.c */
-int mvaddchnstr(int y, int x, chtype *s, int n);
-
-/* _mvaddchstr.c */
-int mvaddchstr(int y, int x, chtype *s);
-
-/* _mvaddnstr.c */
-int mvaddnstr(int y, int x, char *s, int n);
-
-/* _mvaddnwstr.c */
-int mvaddnwstr(int y, int x, wchar_t *ws, int n);
-
-/* _mvaddstr.c */
-int mvaddstr(int y, int x, char *str);
-
-/* _mvaddwch.c */
-int mvaddwch(int y, int x, chtype ch);
-
-/* _mvaddwchnstr.c */
-int mvaddwchnstr(int y, int x, chtype *str, int n);
-
-/* _mvaddwchstr.c */
-int mvaddwchstr(int y, int x, chtype *s);
-
-/* _mvaddwstr.c */
-int mvaddwstr(int y, int x, wchar_t *ws);
-
-/* _mvdelch.c */
-int mvdelch(int y, int x);
-
-/* _mvgetch.c */
-int mvgetch(int y, int x);
-
-/* _mvgetnwstr.c */
-int mvgetnwstr(int y, int x, wchar_t *ws, int n);
-
-/* _mvgetstr.c */
-int mvgetstr(int y, int x, char *str);
-
-/* _mvgetwch.c */
-int mvgetwch(int y, int x);
-
-/* _mvgetwstr.c */
-int mvgetwstr(int y, int x, wchar_t *ws);
-
-/* _mvhline.c */
-int mvhline(int y, int x, chtype ch, int n);
-
-/* _mvinch.c */
-chtype mvinch(int y, int x);
-
-/* _mvinchnstr.c */
-int mvinchnstr(int y, int x, chtype *str, int n);
-
-/* _mvinchstr.c */
-int mvinchstr(int y, int x, chtype *str);
-
-/* _mvinnstr.c */
-int mvinnstr(int y, int x, char *s, int n);
-
-/* _mvinnwstr.c */
-int mvinnwstr(int y, int x, wchar_t *ws, int n);
-
-/* _mvinsch.c */
-int mvinsch(int y, int x, chtype ch);
-
-/* _mvinsnstr.c */
-int mvinsnstr(int y, int x, char *s, int n);
-
-/* _mvinsnwstr.c */
-int mvinsnwstr(int y, int x, wchar_t *ws, int n);
-
-/* _mvinsstr.c */
-int mvinsstr(int y, int x, char *s);
-
-/* _mvinstr.c */
-int mvinstr(int y, int x, char *s);
-
-/* _mvinswch.c */
-int mvinswch(int y, int x, chtype ch);
-
-/* _mvinswstr.c */
-int mvinswstr(int y, int x, wchar_t *ws);
-
-/* _mvinwch.c */
-chtype mvinwch(int y, int x);
-
-/* _mvinwchnstr.c */
-int mvinwchnstr(int y, int x, chtype *str, int n);
-
-/* _mvinwchstr.c */
-int mvinwchstr(int y, int x, chtype *str);
-
-/* _mvinwstr.c */
-int mvinwstr(int y, int x, wchar_t *ws);
-
-/* _mvvline.c */
-int mvvline(int y, int x, chtype c, int n);
-
-/* _mvwaddch.c */
-int mvwaddch(WINDOW *win, int y, int x, chtype ch);
-
-/* _mvwaddchnst.c */
-int mvwaddchnstr(WINDOW *win, int y, int x, chtype *ch, int n);
-
-/* _mvwaddchstr.c */
-int mvwaddchstr(WINDOW *win, int y, int x, chtype *ch);
-
-/* _mvwaddnstr.c */
-int mvwaddnstr(WINDOW *win, int y, int x, char *c, int n);
-
-/* _mvwaddnwstr.c */
-int mvwaddnwstr(WINDOW *win, int y, int x, wchar_t *wc, int n);
-
-/* _mvwaddstr.c */
-int mvwaddstr(WINDOW *win, int y, int x, char *str);
-
-/* _mvwaddwch.c */
-int mvwaddwch(WINDOW *win, int y, int x, chtype ch);
-
-/* _mvwaddwchnstr.c */
-int mvwaddwchnstr(WINDOW *win, int y, int x, chtype *str, int n);
-
-/* _mvwaddwchstr.c */
-int mvwaddwchstr(WINDOW *win, int y, int x, chtype *str);
-
-/* _mvwaddwstr.c */
-int mvwaddwstr(WINDOW *win, int y, int x, wchar_t *wc);
-
-/* _mvwdelch.c */
-int mvwdelch(WINDOW *win, int y, int x);
-
-/* _mvwgetch.c */
-int mvwgetch(WINDOW *win, int y, int x);
-
-/* _mvwgetnwstr.c */
-int mvwgetnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
-
-/* _mvwgetstr.c */
-int mvwgetstr(WINDOW *win, int y, int x, char *str);
-
-/* _mvwgetwch.c */
-int mvwgetwch(WINDOW *win, int y, int x);
-
-/* _mvwgetwstr.c */
-int mvwgetwstr(WINDOW *win, int y, int x, wchar_t *ws);
-
-/* _mvwhline.c */
-int mvwhline(WINDOW *win, int y, int x, chtype c, int n);
-
-/* _mvwinch.c */
-chtype mvwinch(WINDOW *win, int y, int x);
-
-/* _mvwinchnst.c */
-int mvwinchnstr(WINDOW *win, int y, int x, chtype *s, int n);
-
-/* _mvwinchstr.c */
-int mvwinchstr(WINDOW *win, int y, int x, chtype *str);
-
-/* _mvwinnstr.c */
-int mvwinnstr(WINDOW *win, int y, int x, char *str, int n);
-
-/* _mvwinnwstr.c */
-int mvwinnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
-
-/* _mvwinsch.c */
-int mvwinsch(WINDOW *win, int y, int x, chtype c);
-
-/* _mvwinsnstr.c */
-int mvwinsnstr(WINDOW *win, int y, int x, char *str, int n);
-
-/* _mvwinsnwstr.c */
-int mvwinsnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
-
-/* _mvwinsstr.c */
-int mvwinsstr(WINDOW *win, int y, int x, char *str);
-
-/* _mvwinstr.c */
-int mvwinstr(WINDOW *win, int y, int x, char *str);
-
-/* _mvwinswch.c */
-int mvwinswch(WINDOW *win, int y, int x, chtype c);
-
-/* _mvwinswstr.c */
-int mvwinswstr(WINDOW *win, int y, int x, wchar_t *ws);
-
-/* _mvwinwch.c */
-chtype mvwinwch(WINDOW *win, int y, int x);
-
-/* _mvwinwchnstr.c */
-int mvwinwchnstr(WINDOW *win, int y, int x, chtype *str, int n);
-
-/* _mvwinwchstr.c */
-int mvwinwchstr(WINDOW *win, int y, int x, chtype *str);
-
-/* _mvwinwstr.c */
-int mvwinwstr(WINDOW *win, int y, int x, wchar_t *ws);
-
-/* _mvwvline.c */
-int mvwvline(WINDOW *win, int y, int x, chtype c, int n);
-
-/* _nl.c */
-int nl(void);
-
-/* _nocrmode.c */
-#undef nocrmode
-int nocrmode(void);
-
-/* _noecho.c */
-int noecho(void);
-
-/* _nonl.c */
-int nonl(void);
-
-/* _noqiflush.c */
-void noqiflush(void);
-
-/* _overlay.c */
-int overlay(WINDOW *src, WINDOW *dst);
-
-/* _overwrite.c */
-int overwrite(WINDOW *src, WINDOW *dst);
-
-/* _qiflush.c */
-void qiflush(void);
-
-/* _refresh.c */
-int refresh(void);
-
-/* _resetterm.c */
-int resetterm(void);
-
-/* _saveterm.c */
-int saveterm(void);
-
-/* _scr_init.c */
-int scr_init(char *file);
-
-/* _scr_restore.c */
-int scr_restore(char *file);
-
-/* _scr_set.c */
-int scr_set(char *file);
-
-/* _scrl.c */
-int scrl(int n);
-
-/* _scroll.c */
-int scroll(WINDOW *win);
-
-/* _set_curterm.c */
-TERMINAL *set_curterm(TERMINAL *newterminal);
-
-/* _set_term.c */
-SCREEN *set_term(SCREEN *screen);
-
-/* _setscrreg.c */
-int setscrreg(int t, int b);
-
-/* _slk_init.c */
-int slk_init(int f);
-
-/* _standend.c */
-int standend(void);
-
-/* _standout.c */
-int standout(void);
-
-/* _subpad.c */
-WINDOW *subpad(WINDOW *win, int l, int nc, int by, int bx);
-
-/* _timeout.c */
-void timeout(int tm);
-
-/* _touchline.c */
-int touchline(WINDOW *win, int y, int n);
-
-/* _unctrl.c */
-char *unctrl(int ch);
-
-/* _vline.c */
-int vline(chtype vertch, int num_chars);
-
-/* _waddchstr.c */
-int waddchstr(WINDOW *win, chtype *str);
-
-/* _waddstr.c */
-int waddstr(WINDOW *win, char *str);
-
-/* _waddwchstr.c */
-int waddwchstr(WINDOW *win, chtype *str);
-
-/* _waddwstr.c */
-int waddwstr(WINDOW *win, wchar_t *ws);
-
-/* _wclear.c */
-int wclear(WINDOW *win);
-
-/* _wdeleteln.c */
-int wdeleteln(WINDOW *win);
-
-/* _werase.c */
-int werase(WINDOW *win);
-
-/* _winsertln.c */
-int winsertln(WINDOW *win);
-
-/* _winsstr.c */
-int winsstr(WINDOW *win, char *str);
-
-/* _winswstr.c */
-int winswstr(WINDOW *win, wchar_t *ws);
-
-/* _winwchstr.c */
-int winwchstr(WINDOW *win, chtype *str);
-
-/* _wstandend.c */
-int wstandend(WINDOW *win);
-
-/* _wstandout.c */
-int wstandout(WINDOW *win);
-
-/* baudrate.c */
-int baudrate(void);
-
-/* can_change.c */
-bool can_change_color(void);
-
-/* cbreak.c */
-int cbreak(void);
-
-/* chkinput.c */
-int _chkinput(void);
-
-/* clearok.c */
-int clearok(WINDOW *win, bool bf);
-
-/* color_cont.c */
-int color_content(short color, short *r, short *g, short *b);
-
-/* copywin.c */
-int copywin(WINDOW *Srcwin, WINDOW *Dstwin, int minRowSrc, int minColSrc,
- int minRowDst, int minColDst, int maxRowDst,
- int maxColDst, int over_lay);
-
-/* curs_set.c */
-int curs_set(int visibility);
-
-/* curserr.c */
-void curserr(void);
-
-/* curses.c */
-
-/* def_prog.c */
-int def_prog_mode(void);
-
-/* delay.c */
-int _delay(int delay, int (*outc)(char));
-
-/* delay_out.c */
-int delay_output(int ms);
-
-/* delkey.c */
-int delkey(char *sends, int keyval);
-
-/* delkeymap.c */
-void delkeymap(TERMINAL *terminal);
-
-/* delscreen.c */
-void delscreen(SCREEN *screen);
-
-/* delterm.c */
-int delterm(TERMINAL *terminal);
-
-/* delwin.c */
-int delwin(WINDOW *win);
-
-/* derwin.c */
-WINDOW *derwin(WINDOW *win, int num_lines, int nc, int by, int bx);
-
-/* doupdate.c */
-int doupdate(void);
-
-/* draino.c */
-int draino(int ms);
-
-/* dupwin.c */
-WINDOW *dupwin(WINDOW *win);
-
-/* endwin.c */
-int isendwin(void);
-int endwin(void);
-int force_doupdate(void);
-
-/* erasechar.c */
-char erasechar(void);
-
-/* flushinp.c */
-int flushinp(void);
-
-/* getattrs.c */
-chtype getattrs(WINDOW *win);
-
-/* getbegyx.c */
-int getbegy(WINDOW *win);
-int getbegx(WINDOW *win);
-
-/* getbkgd.c */
-chtype getbkgd(WINDOW *win);
-
-/* getmaxyx.c */
-int getmaxy(WINDOW *win);
-int getmaxx(WINDOW *win);
-
-/* getparyx.c */
-int getpary(WINDOW *win);
-int getparx(WINDOW *win);
-
-/* getsyx.c */
-int _getsyx(int *yp, int *xp);
-
-/* gettmode.c */
-int gettmode(void);
-
-/* getwin.c */
-WINDOW *getwin(FILE *filep);
-
-/* getyx.c */
-int getcury(WINDOW *win);
-int getcurx(WINDOW *win);
-
-/* has_colors.c */
-bool has_colors(void);
-
-/* has_ic.c */
-int has_ic(void);
-
-/* has_il.c */
-int has_il(void);
-
-/* idcok.c */
-void idcok(WINDOW *win, bool bf);
-
-/* idlok.c */
-int idlok(WINDOW *win, bool bf);
-
-/* immedok.c */
-void immedok(WINDOW *win, bool bf);
-
-/* init_acs.c */
-int init_acs(void);
-
-/* init_color.c */
-int init_color(short color, short r, short g, short b);
-
-/* init_costs.c */
-void _init_costs(void);
-int _countchar(void);
-
-/* init_pair.c */
-int init_pair(short pair, short f, short b);
-void _init_HP_pair(short pair, short f, short b);
-
-/* is_wintou.c */
-int is_wintouched(WINDOW *win);
-
-/* is_linetou.c */
-int is_linetouched(WINDOW *win, int line);
-
-/* keyname.c */
-char *keyname(int key);
-
-/* keypad.c */
-int keypad(WINDOW *win, bool bf);
-
-/* killchar.c */
-char killchar(void);
-
-/* leaveok.c */
-int leaveok(WINDOW *win, bool bf);
-
-/* longname.c */
-char *longname(void);
-
-/* makenew.c */
-WINDOW *_makenew(int nlines, int ncols, int begy, int begx);
-
-/* mbaddch.c */
-int _mbclrch(WINDOW *win, int y, int x);
-int _mbvalid(WINDOW *win);
-int _mbaddch(WINDOW *win, chtype a, chtype b);
-
-/* mbcharlen.c */
-int mbcharlen(char *sp);
-
-/* mbdisplen.c */
-int mbdisplen(char *sp);
-
-/* mbgetwidth.c */
-void mbgetwidth(void);
-int mbeucw(int c);
-int mbscrw(int c);
-int wcscrw(wchar_t wc);
-
-/* mbinch.c */
-char *wmbinch(WINDOW *win, int y, int x);
-
-/* mbinsshift.c */
-int _mbinsshift(WINDOW *win, int len);
-
-/* mbmove.c */
-int wmbmove(WINDOW *win, int y, int x);
-
-/* mbstowcs.c */
-size_t _curs_mbstowcs(wchar_t *pwcs, const char *s, size_t n);
-
-/* mbtowc.c */
-int _curs_mbtowc(wchar_t *wchar, const char *s, size_t n);
-
-/* mbtranslate.c */
-char *_strcode2byte(wchar_t *code, char *b, int n);
-wchar_t *_strbyte2code(char *code, wchar_t *byte, int n);
-
-/* memSset.c */
-void memSset(chtype *s, chtype c, int n);
-
-/* meta.c */
-int _meta(int bf);
-
-/* mouse.c */
-int mouse_set(long mbe);
-int mouse_on(long mbe);
-int mouse_off(long mbe);
-int request_mouse_pos(void);
-void wmouse_position(WINDOW *win, int *x, int *y);
-int map_button(unsigned long a);
-unsigned long getmouse(void);
-unsigned long getbmap(void);
-
-/* mvcur.c */
-int mvcur(int cury, int curx, int newy, int newx);
-
-/* mvderwin.c */
-int mvderwin(WINDOW *win, int pary, int parx);
-
-/* mvprintw.c */
-int mvprintw(int y, int x, ...);
-
-/* mvscanw.c */
-int mvscanw(int y, int x, ...);
-
-/* mvwin.c */
-int mvwin(WINDOW *win, int by, int bx);
-
-/* mvwprintw.c */
-int mvwprintw(WINDOW *win, int y, int x, ...);
-
-/* mvwscanw.c */
-int mvwscanw(WINDOW *win, int y, int x, ...);
-
-/* napms.c */
-int napms(int ms);
-
-/* newkey.c */
-int newkey(char *rcvchars, short keyval, bool macro);
-
-/* newpad.c */
-WINDOW *newpad(int l, int nc);
-
-/* newscreen.c */
-int filter(void);
-SCREEN *newscreen(char *type, int lsize, int csize, int tabsize, FILE *outfptr,
- FILE *infptr);
-
-/* newwin.c */
-WINDOW *newwin(int nlines, int ncols, int by, int bx);
-int _image(WINDOW *win);
-
-/* nocbreak.c */
-int nocbreak(void);
-
-/* nodelay.c */
-int nodelay(WINDOW *win, bool bf);
-
-/* noraw.c */
-int noraw(void);
-
-/* notimeout.c */
-int notimeout(WINDOW *win, bool bf);
-
-/* outch.c */
-int _outch(char c);
-int _outwch(chtype c);
-
-/* overlap.c */
-int _overlap(WINDOW *Srcwin, WINDOW *Dstwin, int Overlay);
-
-/* pair_cont.c */
-int pair_content(short pair, short *f, short *b);
-
-/* pechowchar.c */
-int pechowchar(WINDOW *pad, chtype ch);
-
-/* pnoutref.c */
-int pnoutrefresh(WINDOW *pad, int pby, int pbx, int sby, int sbx,
- int sey, int sex);
-
-/* prefresh.c */
-int prefresh(WINDOW *pad, int pminy, int pminx, int sminy, int sminx,
- int smaxy, int smaxx);
-int _prefresh(int (*func)(WINDOW *), WINDOW *pad, int pminy, int pminx,
- int sminy, int sminx, int smaxy, int smaxx);
-int _padjust(WINDOW *pad, int pminy, int pminx, int sminy, int sminx,
- int smaxy, int smaxx);
-
-/* printw.c */
-int printw(char *fmt, ...);
-
-/* putwin.c */
-int putwin(WINDOW *win, FILE *filep);
-
-/* quick_echo.c */
-int _quick_echo(WINDOW *win, chtype ch);
-
-/* raw.c */
-int raw(void);
-
-/* redrawwin.c */
-int redrawwin(WINDOW *win);
-
-/* reset_sh.c */
-int reset_shell_mode(void);
-
-/* resetty.c */
-int resetty(void);
-
-/* restart.c */
-int restartterm(char * term, int filenum, int *errret);
-
-/* ring.c */
-int _ring(bool bf);
-
-/* ripoffline.c */
-int ripoffline(int line, int (*init)(WINDOW *, int));
-
-/* savetty.c */
-int savetty(void);
-
-/* scanw.c */
-int scanw(char *fmt, ...);
-
-/* scr_all.c */
-int _scr_all(char *file, int which);
-
-/* scr_dump.c */
-int scr_dump(char *file);
-
-/* scr_ll_dump.c */
-int scr_ll_dump(FILE *filep);
-
-/* scr_reset.c */
-int scr_reset(FILE *filep, int type);
-
-/* scrollok.c */
-int scrollok(WINDOW *win, bool bf);
-
-/* setcurscreen.c */
-SCREEN *setcurscreen(SCREEN *new);
-
-/* setcurterm.c */
-TERMINAL *setcurterm(TERMINAL *newterminal);
-
-/* setecho.c */
-int _setecho(int bf);
-
-/* setkeymap.c */
-int setkeymap(void);
-
-/* setnonl.c */
-int _setnonl(int bf);
-
-/* setqiflush.c */
-void _setqiflush(int yes);
-
-/* setsyx.c */
-int setsyx(int y, int x);
-
-/* setupterm.c */
-int setupterm(char *term, int filenum, int *errret);
-void _blast_keys(TERMINAL *terminal);
-int reset_prog_mode(void);
-int def_shell_mode(void);
-
-/* slk_atroff.c */
-int slk_attroff(chtype a);
-
-/* slk_atron.c */
-int slk_attron(chtype a);
-
-/* slk_atrset.c */
-int slk_attrset(chtype a);
-
-/* slk_clear.c */
-int slk_clear(void);
-
-/* slk_label.c */
-char *slk_label(int n);
-
-/* slk_noutref.c */
-int slk_noutrefresh(void);
-
-/* slk_refresh.c */
-int slk_refresh(void);
-int _slk_update(void);
-
-/* slk_restore.c */
-int slk_restore(void);
-
-/* slk_set.c */
-int slk_set(int n, char *lab, int f);
-
-/* slk_start.c */
-int slk_start(int ng, int *gp);
-
-/* slk_touch.c */
-int slk_touch(void);
-
-/* start_col.c */
-int start_color(void);
-
-/* subwin.c */
-WINDOW *subwin(WINDOW *win, int l, int nc, int by, int bx);
-
-/* syncok.c */
-int syncok(WINDOW *win, bool bf);
-
-/* tcsearch.c */
-int _tcsearch(char *cap, short offsets[], char *names[], int size, int n);
-
-/* termattrs.c */
-chtype termattrs(void);
-
-/* termcap.c */
-int tgetent(char *bp, char *name);
-int tgetflag(char *tcstr);
-int tgetnum(char *tcstr);
-char *tgetstr(char *tcstr, char **area);
-
-/* termerr.c */
-void termerr(void);
-
-/* termname.c */
-char *termname(void);
-
-/* tgetch.c */
-int tgetch(int interpret);
-
-/* tgetwch.c */
-wchar_t tgetwch(int cntl);
-
-/* tgoto.c */
-char *tgoto(char *cap, int col, int row);
-
-/* tifget.c */
-int tifgetflag(char *tistr);
-int tifgetnum(char *tistr);
-char *tifgetstr(char *tistr);
-
-/* tifnames.c */
-
-/* tiget.c */
-int tigetflag(char *tistr);
-int tigetnum(char *tistr);
-char *tigetstr(char *tistr);
-
-/* tinames.c */
-
-/* tinputfd.c */
-void tinputfd(int fd);
-
-/* tnames.c */
-
-/* touchwin.c */
-int touchwin(WINDOW *win);
-
-/* tparm.c */
-char *tparm(char *instring, long fp1, long fp2, long p3, long p4, long p5,
- long p6, long p7, long p8, long p9);
-char *_branchto(char *cp, char to);
-
-/* tputs.c */
-int tputs(char *cp, int affcnt, int (*outc)(char));
-
-/* trace.c */
-int traceon(void);
-int traceoff(void);
-
-/* tstp.c */
-void _tstp(int dummy);
-void _ccleanup(int signo);
-
-/* ttimeout.c */
-int ttimeout(int delay);
-
-/* typeahead.c */
-int typeahead(int fd);
-
-/* unctrl.c */
-
-/* ungetch.c */
-int ungetch(int ch);
-
-/* ungetwch.c */
-int ungetwch(wchar_t code);
-
-/* untouchwin.c */
-int untouchwin(WINDOW *win);
-
-/* use_env.c */
-void use_env(int bf);
-
-/* vidupdate.c */
-void vidupdate(chtype newmode, chtype oldmode, int (*outc)(char));
-int _change_video(chtype newmode, chtype oldmode, int (*outc)(char),
- bool color_terminal);
-void _change_color(short newcolor, short oldcolor, int (*outc)(char));
-
-/* vsscanf.c */
-int _vsscanf(char *buf, char *fmt, va_list ap);
-
-/* vwprintw.c */
-int vwprintw(WINDOW *win, char *fmt, va_list ap);
-
-/* vwscanw.c */
-int vwscanw(WINDOW *win, char *fmt, va_list ap);
-
-/* waddchnstr.c */
-int waddchnstr(WINDOW *win, chtype *string, int ncols);
-
-/* waddnstr.c */
-int waddnstr(WINDOW *win, char *tstr, int i);
-
-/* waddnwstr.c */
-int waddnwstr(WINDOW *win, wchar_t *code, int n);
-
-/* waddwch.c */
-int waddwch(WINDOW *win, chtype c);
-
-/* waddwchnstr.c */
-int waddwchnstr(WINDOW *win, chtype *string, int ncols);
-
-/* wadjcurspos.c */
-int wadjcurspos(WINDOW *win);
-
-/* wbkgd.c */
-int wbkgd(WINDOW *win, chtype nbkgd);
-
-/* wbkgdset.c */
-void wbkgdset(WINDOW *win, chtype c);
-
-/* wborder.c */
-int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs,
- chtype tl, chtype tr, chtype bl, chtype br);
-
-/* wclrtobot.c */
-int wclrtobot(WINDOW *win);
-
-/* wclrtoeol.c */
-int wclrtoeol(WINDOW *win);
-
-/* wcstombs.c */
-size_t _curs_wcstombs(char *s, const wchar_t *pwcs, size_t n);
-
-/* wctomb.c */
-int _curs_wctomb(char *s, const wchar_t wchar);
-
-/* wdelch.c */
-int wdelch(WINDOW *win);
-
-/* wechowchar.c */
-int wechowchar(WINDOW *win, chtype ch);
-
-/* wgetch.c */
-int wgetch(WINDOW *win);
-
-/* wgetstr.c */
-int wgetstr(WINDOW *win, char *str);
-int wgetnstr(WINDOW *win, char *str, int n);
-
-/* wgetwch.c */
-int wgetwch(WINDOW *win);
-
-/* wgetwstr.c */
-int wgetwstr(WINDOW *win, wchar_t *str);
-int wgetnwstr(WINDOW *win, wchar_t *str, int n);
-
-/* whline.c */
-int whline(WINDOW *win, chtype ch, int num_chars);
-
-/* winch.c */
-chtype winch(WINDOW *win);
-
-/* winchnstr.c */
-int winchnstr(WINDOW *win, chtype *string, int ncols);
-
-/* winchstr.c */
-int winchstr(WINDOW *win, chtype *string);
-
-/* winnstr.c */
-int winnstr(WINDOW *win, char *string, int ncols);
-
-/* winnwstr.c */
-int winnwstr(WINDOW *win, wchar_t *wstr, int ncols);
-
-/* winsch.c */
-int winsch(WINDOW *win, chtype c);
-
-/* winsdelln.c */
-int winsdelln(WINDOW *win, int id);
-
-/* winsnstr.c */
-int winsnstr(WINDOW *win, char *tsp, int n);
-
-/* winsnwstr.c */
-int winsnwstr(WINDOW *win, wchar_t *code, int n);
-
-/* winstr.c */
-int winstr(WINDOW *win, char *str);
-
-/* winswch.c */
-int winswch(WINDOW *win, chtype c);
-
-/* winwch.c */
-chtype winwch(WINDOW *win);
-
-/* winwchnstr.c */
-int winwchnstr(WINDOW *win, chtype *string, int ncols);
-
-/* winwstr.c */
-int winwstr(WINDOW *win, wchar_t *wstr);
-
-/* wmove.c */
-int wmove(WINDOW *win, int y, int x);
-
-/* wmovenextch.c */
-int wmovenextch(WINDOW *win);
-
-/* wmoveprevch.c */
-int wmoveprevch(WINDOW *win);
-
-/* wnoutrefresh.c */
-int wnoutrefresh(WINDOW *win);
-
-/* wprintw.c */
-int wprintw(WINDOW *win, ...);
-
-/* wredrawln.c */
-int wredrawln(WINDOW *win, int begline, int numlines);
-
-/* wrefresh.c */
-int wrefresh(WINDOW *win);
-
-/* wscanw.c */
-int wscanw(WINDOW *win, ...);
-
-/* wscrl.c */
-int wscrl(WINDOW *win, int n);
-
-/* wsetscrreg.c */
-int wsetscrreg(WINDOW *win, int topy, int boty);
-
-/* wsyncdown.c */
-void wsyncdown(WINDOW *win);
-
-/* wsyncup.c */
-void wsyncup(WINDOW *win);
-void wcursyncup(WINDOW *win);
-
-/* wtimeout.c */
-void wtimeout(WINDOW *win, int tm);
-
-/* wtouchln.c */
-int wtouchln(WINDOW *win, int y, int n, int changed);
-
-/* wvline.c */
-int wvline(WINDOW *win, chtype vertch, int num_chars);
-
-/* _box.c */
-/* really box32 */
-int box(WINDOW *win, chtype v, chtype h);
-
-/* V3.box.c */
-#undef box
-int box(WINDOW *win, _ochtype v, _ochtype h);
-
-/* _newterm.c */
-/* really newterm32 */
-SCREEN *newterm(char *type, FILE *fout, FILE *fin);
-
-/* V3.newterm.c */
-#undef newterm
-SCREEN *newterm(char *type, FILE *outfptr, FILE *infptr);
-
-/* setterm.c */
-#undef setterm
-int setterm(char *name);
-
-/* pechochar.c */
-/* really p32echochar */
-int pechochar(WINDOW *win, chtype c);
-
-/* V3.pechochar.c */
-#undef pechochar
-int pechochar(WINDOW *win, _ochtype c);
-
-/* waddch.c */
-/* really w32addch */
-int waddch(WINDOW *win, chtype c);
-
-/* V3.waddch.c */
-#undef waddch
-int waddch(WINDOW *win, _ochtype c);
-
-/* wattroff.c */
-/* really w32attroff */
-int wattroff(WINDOW *win, chtype attrs);
-
-/* V3.wattroff.c */
-#undef wattroff
-int wattroff(WINDOW *win, _ochtype attrs);
-
-/* wattron.c */
-/* really w32attron */
-int wattron(WINDOW *win, chtype attrs);
-
-/* V3.wattron.c */
-#undef wattron
-int wattron(WINDOW *win, _ochtype attrs);
-
-/* wattrset.c */
-/* really w32attrset */
-int wattrset(WINDOW *win, chtype attrs);
-
-/* V3.wattrset.c */
-#undef wattrset
-int wattrset(WINDOW *win, _ochtype attrs);
-
-/* wechochar.c */
-/* really w32echochar */
-int wechochar(WINDOW *win, chtype c);
-
-/* V3.wechochar.c */
-#undef wechochar
-int wechochar(WINDOW *win, _ochtype c);
-
-/* winsch.c */
-/* really w32insch */
-int winsch(WINDOW *win, chtype c);
-
-/* V3.winsch.c */
-#undef winsch
-int winsch(WINDOW *win, _ochtype c);
-
-/* putp.c */
-int _outchar(char ch);
-int putp(char *str);
-/* really vid32attr */
-int vidattr(chtype newmode);
-
-/* V3.vidattr.c */
-#undef vidattr
-int vidattr(_ochtype a);
-
-/* vidputs.c */
-/* really vid32puts */
-int vidputs(chtype a, int (*b)(char));
-
-/* V3.vidputs.c */
-#undef vidputs
-int vidputs(_ochtype a, int (*o)(char));
-
-/* initscr.c */
-/* really initscr32 */
-WINDOW *initscr(void);
-
-/* V3.initscr.c */
-#undef initscr
-WINDOW *initscr(void);
diff --git a/usr/src/lib/libcustr/common/llib-lcustr b/usr/src/lib/libcustr/common/llib-lcustr
deleted file mode 100644
index 61a1885c85..0000000000
--- a/usr/src/lib/libcustr/common/llib-lcustr
+++ /dev/null
@@ -1,20 +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 <sys/debug.h>
-#include <libcustr.h>
diff --git a/usr/src/lib/libdemangle/common/llib-ldemangle-sys b/usr/src/lib/libdemangle/common/llib-ldemangle-sys
deleted file mode 100644
index 0f4c4bc081..0000000000
--- a/usr/src/lib/libdemangle/common/llib-ldemangle-sys
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2018 Jason King.
- */
-
-#include "demangle-sys.h"
diff --git a/usr/src/lib/libdevice/llib-ldevice b/usr/src/lib/libdevice/llib-ldevice
deleted file mode 100644
index e836d588c6..0000000000
--- a/usr/src/lib/libdevice/llib-ldevice
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#include <sys/types.h>
-#include <sys/devctl.h>
-#include "libdevice.h"
diff --git a/usr/src/lib/libdevid/llib-ldevid b/usr/src/lib/libdevid/llib-ldevid
deleted file mode 100644
index 6fbc1d4b45..0000000000
--- a/usr/src/lib/libdevid/llib-ldevid
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include "devid.h"
-#include "libdevid.h"
diff --git a/usr/src/lib/libdevinfo/llib-ldevinfo b/usr/src/lib/libdevinfo/llib-ldevinfo
deleted file mode 100644
index 8bf601f9fa..0000000000
--- a/usr/src/lib/libdevinfo/llib-ldevinfo
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * usr/src/lib/libdevinfo/llib-ldevinfo
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libdevinfo.h>
-#include <device_info.h>
diff --git a/usr/src/lib/libdhcpagent/common/llib-ldhcpagent b/usr/src/lib/libdhcpagent/common/llib-ldhcpagent
deleted file mode 100644
index 168da5b06f..0000000000
--- a/usr/src/lib/libdhcpagent/common/llib-ldhcpagent
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <dhcp_hostconf.h>
-#include <dhcp_stable.h>
-#include <dhcpagent_ipc.h>
-#include <dhcpagent_util.h>
diff --git a/usr/src/lib/libdhcputil/common/llib-ldhcputil b/usr/src/lib/libdhcputil/common/llib-ldhcputil
deleted file mode 100644
index 799c396a38..0000000000
--- a/usr/src/lib/libdhcputil/common/llib-ldhcputil
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 1999-2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <dhcp_symbol.h>
-#include <dhcp_inittab.h>
-#include <dhcpmsg.h>
-#include <dhcp_impl.h>
diff --git a/usr/src/lib/libdisasm/common/llib-ldisasm b/usr/src/lib/libdisasm/common/llib-ldisasm
deleted file mode 100644
index 4ca0ab20e6..0000000000
--- a/usr/src/lib/libdisasm/common/llib-ldisasm
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libdisasm.h>
diff --git a/usr/src/lib/libdiskmgt/common/llib-ldiskmgt b/usr/src/lib/libdiskmgt/common/llib-ldiskmgt
deleted file mode 100644
index d4fd481b8f..0000000000
--- a/usr/src/lib/libdiskmgt/common/llib-ldiskmgt
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include "libdiskmgt.h"
-#include "disks_private.h"
diff --git a/usr/src/lib/libdladm/common/llib-ldladm b/usr/src/lib/libdladm/common/llib-ldladm
deleted file mode 100644
index 8e5eac0614..0000000000
--- a/usr/src/lib/libdladm/common/llib-ldladm
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libdllink.h>
-#include <libdlaggr.h>
-#include <libdlwlan.h>
-#include <libdlvnic.h>
-#include <libdlvlan.h>
-#include <libdlib.h>
-#include <libdliptun.h>
-#include <libdlmgmt.h>
-#include <libdlflow.h>
-#include <libdlstat.h>
-#include <libdlether.h>
-#include <libdlsim.h>
-#include <libdlbridge.h>
diff --git a/usr/src/lib/libdll/common/llib-ldll b/usr/src/lib/libdll/common/llib-ldll
deleted file mode 100644
index eac4e07d98..0000000000
--- a/usr/src/lib/libdll/common/llib-ldll
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * lib/libdll/common/llib-ldll
- *
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <dlldefs.h>
diff --git a/usr/src/lib/libdlpi/common/llib-ldlpi b/usr/src/lib/libdlpi/common/llib-ldlpi
deleted file mode 100644
index e1cc033309..0000000000
--- a/usr/src/lib/libdlpi/common/llib-ldlpi
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libdlpi.h>
diff --git a/usr/src/lib/libdoor/common/llib-ldoor b/usr/src/lib/libdoor/common/llib-ldoor
deleted file mode 100644
index fb6075ca86..0000000000
--- a/usr/src/lib/libdoor/common/llib-ldoor
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#include <door.h>
-
-/* door_calls.c */
-int door_create(void (*)(void *, char *, size_t, door_desc_t *, uint_t),
- void *, uint_t);
-int door_xcreate(door_server_procedure_t *, void *, uint_t,
- door_xcreate_server_func_t *, door_xcreate_thrsetup_func_t *,
- void *, int);
-int door_revoke(int);
-int door_info(int, door_info_t *);
-int door_call(int, door_arg_t *);
-int door_return(char *, size_t, door_desc_t *, uint_t);
-int door_cred(door_cred_t *);
-int door_bind(int);
-int door_unbind(void);
-door_server_func_t *door_server_create(door_server_func_t *);
diff --git a/usr/src/lib/libds/common/llib-lds b/usr/src/lib/libds/common/llib-lds
deleted file mode 100644
index 83867420d8..0000000000
--- a/usr/src/lib/libds/common/llib-lds
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include "libds.h"
diff --git a/usr/src/lib/libdscp/llib-ldscp b/usr/src/lib/libdscp/llib-ldscp
deleted file mode 100644
index b4ce6b9926..0000000000
--- a/usr/src/lib/libdscp/llib-ldscp
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * usr/src/lib/libdscp/llib-ldscp
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <libdscp.h>
diff --git a/usr/src/lib/libdtrace/common/llib-ldtrace b/usr/src/lib/libdtrace/common/llib-ldtrace
deleted file mode 100644
index 313e78c5ca..0000000000
--- a/usr/src/lib/libdtrace/common/llib-ldtrace
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <dtrace.h>
diff --git a/usr/src/lib/libefi/common/llib-lefi b/usr/src/lib/libefi/common/llib-lefi
deleted file mode 100644
index 8f091f1e2e..0000000000
--- a/usr/src/lib/libefi/common/llib-lefi
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/efi_partition.h>
-#include <pkginfo.h>
-
-/*
- * usr/src/lib/libefi
- */
-/* rdwr_efi.c */
-int efi_alloc_and_init(int fd, uint32_t nparts, struct dk_gpt **vtoc);
-int efi_alloc_and_read(int fd, struct dk_gpt **vtoc);
-int efi_write(int fd, struct dk_gpt *vtoc);
-void efi_free(struct dk_gpt *);
-int efi_use_whole_disk(int fd);
-
diff --git a/usr/src/lib/libelfsign/common/llib-lelfsign b/usr/src/lib/libelfsign/common/llib-lelfsign
deleted file mode 100644
index 5ed60d4a75..0000000000
--- a/usr/src/lib/libelfsign/common/llib-lelfsign
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <sys/crypto/elfsign.h>
-#include <libelfsign.h>
diff --git a/usr/src/lib/libeti/form/common/llib-lform b/usr/src/lib/libeti/form/common/llib-lform
deleted file mode 100644
index f2753e2ce1..0000000000
--- a/usr/src/lib/libeti/form/common/llib-lform
+++ /dev/null
@@ -1,465 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright (c) 1997 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.6 */
-
-/*LINTLIBRARY*/
-
-#include "form.h"
-
-/*
- * FIELDTYPE routines
- */
-
-FIELDTYPE *
-new_fieldtype(fcheck, ccheck)
-PTF_int fcheck;
-PTF_int ccheck;
-{ return ((FIELDTYPE *)0); }
-
-FIELDTYPE *
-link_fieldtype(left, right)
-FIELDTYPE *left;
-FIELDTYPE *right;
-{ return ((FIELDTYPE *)0); }
-
-int
-free_fieldtype(t)
-FIELDTYPE * t;
-{ return (E_SYSTEM_ERROR); }
-
-int
-set_fieldtype_arg(t, makearg, copyarg, freearg)
-FIELDTYPE *t;
-PTF_charP makearg;
-PTF_charP copyarg;
-PTF_void freearg;
-{ return (E_SYSTEM_ERROR); }
-
-int
-set_fieldtype_choice(t, next, prev)
-FIELDTYPE *t;
-PTF_int next;
-PTF_int prev;
-{ return (E_SYSTEM_ERROR); }
-
-/*
- * FIELD routines
- */
-
-FIELD *
-new_field(rows, cols, frow, fcol, nrow, nbuf)
-int rows;
-int cols;
-int frow;
-int fcol;
-int nrow;
-int nbuf;
-{ return ((FIELD *)0); }
-
-FIELD *
-dup_field(field, frow, fcol)
-FIELD *field;
-int frow;
-int fcol;
-{ return ((FIELD *)0); }
-
-FIELD *
-link_field(field, frow, fcol)
-FIELD *field;
-int frow;
-int fcol;
-{ return ((FIELD *)0); }
-
-int
-free_field(f)
-FIELD * f;
-{ return (E_SYSTEM_ERROR); }
-
-int
-field_info(f, rows, cols, frow, fcol, nrow, nbuf)
-FIELD *f;
-int *rows;
-int *cols;
-int *frow;
-int *fcol;
-int *nrow;
-int *nbuf;
-{ return (E_SYSTEM_ERROR); }
-
-int
-dynamic_field_info(f, drows, dcols, max)
-FIELD *f;
-int *drows;
-int *dcols;
-int *max;
-{ return (E_SYSTEM_ERROR); }
-
-int
-set_max_field(f, max)
-FIELD *f;
-int max;
-{ return (E_SYSTEM_ERROR); }
-
-int
-move_field(f, frow, fcol)
-FIELD *f;
-int frow;
-int fcol;
-{ return (E_SYSTEM_ERROR); }
-
-#ifdef __STDC__
-int
-set_field_type(FIELD *f, FIELDTYPE *ft, ...)
-#else
-/*VARARGS*/
-int
-set_field_type(va_alist)
-va_dcl
-#endif
-{ return (E_SYSTEM_ERROR); }
-
-FIELDTYPE *
-field_type(f)
-FIELD *f;
-{ return ((FIELDTYPE *)0); }
-
-char *
-field_arg(f)
-FIELD *f;
-{ return ((char *)0); }
-
-int
-set_new_page(f, flag)
-FIELD *f;
-int flag;
-{ return (E_SYSTEM_ERROR); }
-
-int
-new_page(f)
-FIELD *f;
-{ return (FALSE); }
-
-int
-set_field_just(f, just)
-FIELD *f;
-int just;
-{ return (E_SYSTEM_ERROR); }
-
-int
-field_just(f)
-FIELD *f;
-{ return (NO_JUSTIFICATION); }
-
-int
-set_field_fore(f, fore)
-FIELD *f;
-chtype fore;
-{ return (E_SYSTEM_ERROR); }
-
-chtype
-field_fore(f)
-FIELD *f;
-{ return (A_NORMAL); }
-
-int
-set_field_back(f, back)
-FIELD *f;
-chtype back;
-{ return (E_SYSTEM_ERROR); }
-
-chtype
-field_back(f)
-FIELD *f;
-{ return (A_NORMAL); }
-
-int
-set_field_pad(f, pad)
-FIELD *f;
-int pad;
-{ return (E_SYSTEM_ERROR); }
-
-int
-field_pad(f)
-FIELD *f;
-{ return (' '); }
-
-int
-set_field_buffer(f, n, v)
-FIELD *f;
-int n;
-char *v;
-{ return (E_SYSTEM_ERROR); }
-
-char *
-field_buffer(f, n)
-FIELD *f;
-int n;
-{ return ((char *)0); }
-
-int
-set_field_status(f, status)
-FIELD *f;
-int status;
-{ return (E_SYSTEM_ERROR); }
-
-int
-field_status(f)
-FIELD *f;
-{ return (FALSE); }
-
-int
-set_field_userptr(f, userptr)
-FIELD *f;
-char *userptr;
-{ return (E_SYSTEM_ERROR); }
-
-char *
-field_userptr(f)
-FIELD *f;
-{ return ((char *)0); }
-
-int
-set_field_opts(f, opts)
-FIELD *f;
-OPTIONS opts;
-{ return (E_SYSTEM_ERROR); }
-
-OPTIONS
-field_opts(f)
-FIELD *f;
-{ return ((OPTIONS)0); }
-
-int
-field_opts_on(f, opts)
-FIELD *f;
-OPTIONS opts;
-{ return (E_SYSTEM_ERROR); }
-
-int
-field_opts_off(f, opts)
-FIELD *f;
-OPTIONS opts;
-{ return (E_SYSTEM_ERROR); }
-
-/*
- * FORM routines
- */
-
-FORM *
-new_form(field)
-FIELD **field;
-{ return ((FORM *)0); }
-
-int
-free_form(f)
-FORM *f;
-{ return (E_SYSTEM_ERROR); }
-
-int
-set_form_fields(f, fields)
-FORM *f;
-FIELD **fields;
-{ return (E_SYSTEM_ERROR); }
-
-FIELD **
-form_fields(f)
-FORM *f;
-{ return ((FIELD **)0); }
-
-int
-field_count(f)
-FORM *f;
-{ return (-1); }
-
-int
-set_form_win(f, window)
-FORM *f;
-WINDOW *window;
-{ return (E_SYSTEM_ERROR); }
-
-WINDOW *
-form_win(f)
-FORM *f;
-{ return ((WINDOW *)0); }
-
-int
-set_form_sub(f, window)
-FORM *f;
-WINDOW *window;
-{ return (E_SYSTEM_ERROR); }
-
-WINDOW *
-form_sub(f)
-FORM *f;
-{ return ((WINDOW *)0); }
-
-int
-set_current_field(f, c)
-FORM *f;
-FIELD *c;
-{ return (E_SYSTEM_ERROR); }
-
-FIELD *
-current_field(f)
-FORM *f;
-{ return ((FIELD *)0); }
-
-int
-field_index(f)
-FIELD *f;
-{ return (-1); }
-
-int
-set_form_page(f, page)
-FORM *f;
-int page;
-{ return (E_SYSTEM_ERROR); }
-
-int
-form_page(f)
-FORM *f;
-{ return (-1); }
-
-int
-scale_form(f, rows, cols)
-FORM *f;
-int *rows;
-int *cols;
-{ return (E_SYSTEM_ERROR); }
-
-int
-set_form_init(f, func)
-FORM *f;
-PTF_void func;
-{ return (E_SYSTEM_ERROR); }
-
-PTF_void
-form_init(f)
-FORM *f;
-{ return ((PTF_void)0); }
-
-int
-set_form_term(f, func)
-FORM *f;
-PTF_void func;
-{ return (E_SYSTEM_ERROR); }
-
-PTF_void
-form_term(f)
-FORM *f;
-{ return ((PTF_void)0); }
-
-int
-set_field_init(f, func)
-FORM *f;
-PTF_void func;
-{ return (E_SYSTEM_ERROR); }
-
-PTF_void
-field_init(f)
-FORM *f;
-{ return ((PTF_void)0); }
-
-int
-set_field_term(f, func)
-FORM *f;
-PTF_void func;
-{ return (E_SYSTEM_ERROR); }
-
-PTF_void
-field_term(f)
-FORM *f;
-{ return ((PTF_void)0); }
-
-int
-post_form(f)
-FORM *f;
-{ return (E_SYSTEM_ERROR); }
-
-int
-unpost_form(f)
-FORM *f;
-{ return (E_SYSTEM_ERROR); }
-
-int
-pos_form_cursor(f)
-FORM *f;
-{ return (E_SYSTEM_ERROR); }
-
-int
-form_driver(f, c)
-FORM *f;
-int c;
-{ return (E_SYSTEM_ERROR); }
-
-int
-set_form_userptr(f, userptr)
-FORM *f;
-char *userptr;
-{ return (E_SYSTEM_ERROR); }
-
-char *
-form_userptr(f)
-FORM *f;
-{ return ((char *)0); }
-
-int
-set_form_opts(f, opts)
-FORM *f;
-OPTIONS opts;
-{ return (E_SYSTEM_ERROR); }
-
-OPTIONS
-form_opts(f)
-FORM *f;
-{ return ((OPTIONS)0); }
-
-int
-form_opts_on(f, opts)
-FORM *f;
-OPTIONS opts;
-{ return (E_SYSTEM_ERROR); }
-
-int
-form_opts_off(f, opts)
-FORM *f;
-OPTIONS opts;
-{ return (E_SYSTEM_ERROR); }
-
-int
-data_ahead(f)
-FORM *f;
-{ return (FALSE); }
-
-int
-data_behind(f)
-FORM *f;
-{ return (FALSE); }
diff --git a/usr/src/lib/libeti/menu/common/llib-lmenu b/usr/src/lib/libeti/menu/common/llib-lmenu
deleted file mode 100644
index 09d11fe79e..0000000000
--- a/usr/src/lib/libeti/menu/common/llib-lmenu
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright (c) 1997, by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-#include "menu.h"
-
-WINDOW *win;
-MENU *menu;
-ITEM **items;
-ITEM *item;
-
-ITEM **menu_items(MENU *m) {return items;}
-ITEM *current_item(MENU *m) {return (ITEM *)0;}
-ITEM *new_item(char *n, char *d) {return item;}
-MENU *new_menu(ITEM **i) {return menu;}
-OPTIONS item_opts(ITEM *i) {return O_SELECTABLE;}
-OPTIONS menu_opts(MENU *m) {return O_ONEVALUE;}
-PTF_void item_init(MENU *m) {return (PTF_void)0;}
-PTF_void item_term(MENU *m) {return (PTF_void)0;}
-PTF_void menu_init(MENU *m) {return (PTF_void)0;}
-PTF_void menu_term(MENU *m) {return (PTF_void)0;}
-WINDOW *menu_sub(MENU *m) {return win;}
-WINDOW *menu_win(MENU *m) {return win;}
-
-char *item_description(ITEM *i) {return "description";}
-char *item_name(ITEM *i) {return "name";}
-char *item_userptr(ITEM *i) {return "item_userptr";}
-char *menu_mark(MENU *m) {return "-";}
-char *menu_pattern(MENU *m) {return "pattern";}
-char *menu_userptr(MENU *m) {return "menu_userptr";}
-
-chtype menu_back(MENU *m) {return A_NORMAL;}
-chtype menu_fore(MENU *m) {return A_NORMAL;}
-chtype menu_grey(MENU *m) {return A_NORMAL;}
-
-void menu_format(MENU *m, int *r, int *c) {}
-
-int free_item(ITEM *i) {return E_OK;}
-int free_menu(MENU *m) {return E_OK;}
-int item_count(MENU *m) {return 0;}
-int item_index(ITEM *i) {return 0;}
-int item_opts_off(ITEM *i, OPTIONS o) {return 0;}
-int item_opts_on(ITEM *i, OPTIONS o) {return 0;}
-int item_value(ITEM *i) {return 0;}
-int item_visible(ITEM *i) {return TRUE;}
-int menu_driver(MENU *m, int c) {return E_OK;}
-int menu_opts_off(MENU *m, OPTIONS o) {return 0;}
-int menu_opts_on(MENU *m, OPTIONS o) {return 0;}
-int menu_pad(MENU *m) {return ' ';}
-int pos_menu_cursor(MENU *m) {return E_OK;}
-int post_menu(MENU *m) {return E_OK;}
-int scale_menu(MENU *m, int *r, int *c) {return E_OK;}
-int set_current_item(MENU *m, ITEM *i) {return E_OK;}
-int set_item_init(MENU *m, PTF_void f) {return E_OK;}
-int set_item_opts(ITEM *i, OPTIONS o) {return E_OK;}
-int set_item_term(MENU *m, PTF_void f) {return E_OK;}
-int set_item_userptr(ITEM *i, char *u) {return E_OK;}
-int set_item_value(ITEM *i, int v) {return E_OK;}
-int set_menu_back(MENU *m, chtype a) {return E_OK;}
-int set_menu_fore(MENU *m, chtype a) {return E_OK;}
-int set_menu_format(MENU *m, int r, int c) {return E_OK;}
-int set_menu_grey(MENU *m, chtype a) {return E_OK;}
-int set_menu_init(MENU *m, PTF_void f) {return E_OK;}
-int set_menu_items(MENU *m, ITEM **i) {return E_OK;}
-int set_menu_mark(MENU *m, char *s) {return E_OK;}
-int set_menu_opts(MENU *m, OPTIONS o) {return E_OK;}
-int set_menu_pad(MENU *m, int i) {return E_OK;}
-int set_menu_pattern(MENU *m, char *p) {return E_OK;}
-int set_menu_sub(MENU *m, WINDOW *w) {return E_OK;}
-int set_menu_term(MENU *m, PTF_void f) {return E_OK;}
-int set_menu_userptr(MENU *m, char *u) {return E_OK;}
-int set_menu_win(MENU *m, WINDOW *w) {return E_OK;}
-int set_top_row(MENU *m, int i) {return E_OK;}
-int top_row(MENU *m) {return 0;}
-int unpost_menu(MENU *m) {return E_OK;}
diff --git a/usr/src/lib/libeti/panel/common/llib-lpanel b/usr/src/lib/libeti/panel/common/llib-lpanel
deleted file mode 100644
index b2bb304185..0000000000
--- a/usr/src/lib/libeti/panel/common/llib-lpanel
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-
-/*
- * Copyright (c) 1997, by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.5 */
-
-/*LINTLIBRARY*/
-
-#include <sys/types.h>
-#include "panel.h"
-
-int
-bottom_panel(PANEL *panel)
-{
- return OK;
-}
-
-int
-hide_panel(PANEL *panel)
-{
- return OK;
-}
-
-int
-del_panel(PANEL *panel)
-{
- return OK;
-}
-
-WINDOW
-*panel_window(PANEL *panel)
-{
- return (WINDOW *) 0;
-}
-
-char
-*panel_userptr(PANEL *panel)
-{
- return (char *)0;
-}
-
-int
-set_panel_userptr(PANEL *panel, char *ptr)
-{
- return OK;
-}
-
-PANEL
-*panel_above(PANEL *panel)
-{
- return (PANEL *) 0;
-}
-
-PANEL
-*panel_below(PANEL *panel)
-{
- return (PANEL *) 0;
-}
-
-int
-panel_hidden(PANEL *panel)
-{
- return TRUE;
-}
-
-int
-move_panel(PANEL *panel, int starty, int startx)
-{
- return OK;
-}
-
-PANEL
-*new_panel(WINDOW *window)
-{
- return (PANEL *) 0;
-}
-
-int
-show_panel(PANEL *panel)
-{
- return OK;
-}
-
-int
-replace_panel(PANEL *panel, WINDOW *window)
-{
- return OK;
-}
-
-int
-top_panel(PANEL *panel)
-{
- return OK;
-}
-
-void
-update_panels(void)
-{}
diff --git a/usr/src/lib/libexacct/common/llib-lexacct b/usr/src/lib/libexacct/common/llib-lexacct
deleted file mode 100644
index 1b5022b8e8..0000000000
--- a/usr/src/lib/libexacct/common/llib-lexacct
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-/*
- * Copyright (c) 1999-2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <exacct.h>
-#include <sys/exacct.h>
diff --git a/usr/src/lib/libfakekernel/common/llib-lfakekernel b/usr/src/lib/libfakekernel/common/llib-lfakekernel
deleted file mode 100644
index be05b862bd..0000000000
--- a/usr/src/lib/libfakekernel/common/llib-lfakekernel
+++ /dev/null
@@ -1,20 +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 2013 Nexenta Systems, Inc. All rights reserved.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <sys/ksynch.h>
-#include <fakekernel.h>
diff --git a/usr/src/lib/libfcoe/common/llib-lfcoe b/usr/src/lib/libfcoe/common/llib-lfcoe
deleted file mode 100644
index 888c17113e..0000000000
--- a/usr/src/lib/libfcoe/common/llib-lfcoe
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libfcoe.h>
diff --git a/usr/src/lib/libfdisk/common/llib-lfdisk b/usr/src/lib/libfdisk/common/llib-lfdisk
deleted file mode 100644
index ab95e0068d..0000000000
--- a/usr/src/lib/libfdisk/common/llib-lfdisk
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * usr/src/lib/libfdisk/llib-lfdisk
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libfdisk.h>
diff --git a/usr/src/lib/libficl/llib-lficl-sys b/usr/src/lib/libficl/llib-lficl-sys
deleted file mode 100644
index 77d9e45d72..0000000000
--- a/usr/src/lib/libficl/llib-lficl-sys
+++ /dev/null
@@ -1,20 +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 2016 Toomas Soome <tsoome@me.com>
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <ficl.h>
-#include <ficlplatform/emu.h>
diff --git a/usr/src/lib/libfsmgt/common/llib-lfsmgt b/usr/src/lib/libfsmgt/common/llib-lfsmgt
deleted file mode 100644
index 2ab61837db..0000000000
--- a/usr/src/lib/libfsmgt/common/llib-lfsmgt
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include "libfsmgt.h"
diff --git a/usr/src/lib/libfstyp/common/llib-lfstyp b/usr/src/lib/libfstyp/common/llib-lfstyp
deleted file mode 100644
index 05da2eb1cd..0000000000
--- a/usr/src/lib/libfstyp/common/llib-lfstyp
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libfstyp.h>
diff --git a/usr/src/lib/libgen/common/llib-lgen b/usr/src/lib/libgen/common/llib-lgen
deleted file mode 100644
index ca93477826..0000000000
--- a/usr/src/lib/libgen/common/llib-lgen
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <libgen.h>
-#undef _REENTRANT
-#include <regexpr.h> /* get the static variable definitions */
-#define _REENTRANT
-#include <regexpr.h> /* now the dynamic variable definitions */
-
-/*
- * This a private function for ex/vi only.
- * It is not an alias for 'compile'.
- */
-char *_compile(const char *, char *, char *, int);
diff --git a/usr/src/lib/libgrubmgmt/common/llib-lgrubmgmt b/usr/src/lib/libgrubmgmt/common/llib-lgrubmgmt
deleted file mode 100644
index f3640f843b..0000000000
--- a/usr/src/lib/libgrubmgmt/common/llib-lgrubmgmt
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include "libgrubmgmt.h"
diff --git a/usr/src/lib/libgss/llib-lgss b/usr/src/lib/libgss/llib-lgss
deleted file mode 100644
index b1756bb31a..0000000000
--- a/usr/src/lib/libgss/llib-lgss
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <gssapi/gssapi.h>
diff --git a/usr/src/lib/libhotplug/common/llib-lhotplug b/usr/src/lib/libhotplug/common/llib-lhotplug
deleted file mode 100644
index 6773e83b80..0000000000
--- a/usr/src/lib/libhotplug/common/llib-lhotplug
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libhotplug.h>
diff --git a/usr/src/lib/libidmap/common/llib-lidmap b/usr/src/lib/libidmap/common/llib-lidmap
deleted file mode 100644
index 4bb2bee5c4..0000000000
--- a/usr/src/lib/libidmap/common/llib-lidmap
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include "idmap.h"
-#include "idmap_priv.h"
-#include "directory.h"
-#include "directory_private.h"
-#include "sized_array.h"
-#include "directory_library_impl.h"
-#include "sidutil.h"
diff --git a/usr/src/lib/libilb/common/llib-lilb b/usr/src/lib/libilb/common/llib-lilb
deleted file mode 100644
index a57ef8dd3e..0000000000
--- a/usr/src/lib/libilb/common/llib-lilb
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libilb.h>
diff --git a/usr/src/lib/libima/common/llib-lima b/usr/src/lib/libima/common/llib-lima
deleted file mode 100644
index c7cdc84a3d..0000000000
--- a/usr/src/lib/libima/common/llib-lima
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <ima.h>
-#include <libsun_ima.h>
diff --git a/usr/src/lib/libinetsvc/common/llib-linetsvc b/usr/src/lib/libinetsvc/common/llib-linetsvc
deleted file mode 100644
index b49e541f7b..0000000000
--- a/usr/src/lib/libinetsvc/common/llib-linetsvc
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <inetsvc.h>
diff --git a/usr/src/lib/libinetutil/common/llib-linetutil b/usr/src/lib/libinetutil/common/llib-linetutil
deleted file mode 100644
index 03504ac752..0000000000
--- a/usr/src/lib/libinetutil/common/llib-linetutil
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libinetutil.h>
diff --git a/usr/src/lib/libinstzones/common/llib-linstzones b/usr/src/lib/libinstzones/common/llib-linstzones
deleted file mode 100644
index 62e629c562..0000000000
--- a/usr/src/lib/libinstzones/common/llib-linstzones
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <instzones_api.h>
diff --git a/usr/src/lib/libintl/common/llib-lintl b/usr/src/lib/libintl/common/llib-lintl
deleted file mode 100644
index 877cbc2290..0000000000
--- a/usr/src/lib/libintl/common/llib-lintl
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1997 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*
- * usr/src/lib/libintl
- * EMPTY library
- */
-
-#include <libintl.h>
-#include <locale.h>
diff --git a/usr/src/lib/libipadm/common/llib-lipadm b/usr/src/lib/libipadm/common/llib-lipadm
deleted file mode 100644
index 4553567250..0000000000
--- a/usr/src/lib/libipadm/common/llib-lipadm
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libipadm.h>
-/*
- * functions private to libipadm and ipmgmtd/in.ndpd are prototyped
- * in the files below
- */
-#include <ipadm_ipmgmt.h>
-#include <ipadm_ndpd.h>
diff --git a/usr/src/lib/libipd/common/llib-lipd b/usr/src/lib/libipd/common/llib-lipd
deleted file mode 100644
index 79a3521301..0000000000
--- a/usr/src/lib/libipd/common/llib-lipd
+++ /dev/null
@@ -1,20 +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 (c) 2012 Joyent, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libipd.h>
diff --git a/usr/src/lib/libipmi/common/llib-lipmi b/usr/src/lib/libipmi/common/llib-lipmi
deleted file mode 100644
index fc27f40c95..0000000000
--- a/usr/src/lib/libipmi/common/llib-lipmi
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libipmi.h>
diff --git a/usr/src/lib/libipmp/common/llib-lipmp b/usr/src/lib/libipmp/common/llib-lipmp
deleted file mode 100644
index a22eec5d66..0000000000
--- a/usr/src/lib/libipmp/common/llib-lipmp
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <ipmp.h>
-#include <ipmp_admin.h>
-#include <ipmp_mpathd.h>
-#include <ipmp_query_impl.h>
diff --git a/usr/src/lib/libipp/llib-lipp b/usr/src/lib/libipp/llib-lipp
deleted file mode 100644
index d6924e8ade..0000000000
--- a/usr/src/lib/libipp/llib-lipp
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * usr/src/lib/libipp/llib-lipp
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libipp.h>
diff --git a/usr/src/lib/libipsecutil/common/llib-lipsecutil b/usr/src/lib/libipsecutil/common/llib-lipsecutil
deleted file mode 100644
index c09cb88c65..0000000000
--- a/usr/src/lib/libipsecutil/common/llib-lipsecutil
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <ipsec_util.h>
diff --git a/usr/src/lib/libiscsit/common/llib-liscsit b/usr/src/lib/libiscsit/common/llib-liscsit
deleted file mode 100644
index 8d9fc33604..0000000000
--- a/usr/src/lib/libiscsit/common/llib-liscsit
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libiscsit.h>
-#include <sys/iscsit/iscsit_common.h>
diff --git a/usr/src/lib/libkmf/ber_der/common/llib-lkmfberder b/usr/src/lib/libkmf/ber_der/common/llib-lkmfberder
deleted file mode 100644
index 44d4dec3b5..0000000000
--- a/usr/src/lib/libkmf/ber_der/common/llib-lkmfberder
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <ber_der.h>
diff --git a/usr/src/lib/libkmf/libkmf/common/llib-lkmf b/usr/src/lib/libkmf/libkmf/common/llib-lkmf
deleted file mode 100644
index 355ed9bb21..0000000000
--- a/usr/src/lib/libkmf/libkmf/common/llib-lkmf
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-#include <kmfapi.h>
-#include <kmfpolicy.h>
-#include <kmfapiP.h>
diff --git a/usr/src/lib/libkstat/common/llib-lkstat b/usr/src/lib/libkstat/common/llib-lkstat
deleted file mode 100644
index 499f04e48b..0000000000
--- a/usr/src/lib/libkstat/common/llib-lkstat
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1997 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <kstat.h>
-
-/*
- * usr/src/lib/libkstat
- */
-
-/* kstat.c */
-kstat_ctl_t *kstat_open(void);
-int kstat_close(kstat_ctl_t *);
-kid_t kstat_read(kstat_ctl_t *, kstat_t *, void *);
-kid_t kstat_write(kstat_ctl_t *, kstat_t *, void *);
-kid_t kstat_chain_update(kstat_ctl_t *);
-kstat_t *kstat_lookup(kstat_ctl_t *, char *, int, char *);
-void *kstat_data_lookup(kstat_t *, char *);
diff --git a/usr/src/lib/libkvm/common/llib-lkvm b/usr/src/lib/libkvm/common/llib-lkvm
deleted file mode 100644
index 9c04b1c6eb..0000000000
--- a/usr/src/lib/libkvm/common/llib-lkvm
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1997-1998 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <fcntl.h>
-#include <sys/proc.h>
-#include <sys/user.h>
-#include <kvm.h>
-
-kvm_t *kvm_open(const char *, const char *, const char *, int, const char *);
-int kvm_close(kvm_t *);
-int kvm_nlist(kvm_t *, struct nlist []);
-ssize_t kvm_read(kvm_t *, uintptr_t, void *, size_t);
-ssize_t kvm_kread(kvm_t *, uintptr_t, void *, size_t);
-ssize_t kvm_uread(kvm_t *, uintptr_t, void *, size_t);
-ssize_t kvm_aread(kvm_t *, uintptr_t, void *, size_t, struct as *);
-ssize_t kvm_pread(kvm_t *, uint64_t, void *, size_t);
-ssize_t kvm_write(kvm_t *, uintptr_t, const void *, size_t);
-ssize_t kvm_kwrite(kvm_t *, uintptr_t, const void *, size_t);
-ssize_t kvm_uwrite(kvm_t *, uintptr_t, const void *, size_t);
-ssize_t kvm_awrite(kvm_t *, uintptr_t, const void *, size_t, struct as *);
-ssize_t kvm_pwrite(kvm_t *, uint64_t, const void *, size_t);
-uint64_t kvm_physaddr(kvm_t *, struct as *, uintptr_t);
-proc_t *kvm_getproc(kvm_t *, pid_t);
-proc_t *kvm_nextproc(kvm_t *);
-int kvm_setproc(kvm_t *);
-user_t *kvm_getu(kvm_t *, struct proc *);
-int kvm_getcmd(kvm_t *, proc_t *, user_t *, char ***, char ***);
diff --git a/usr/src/lib/libldap5/sources/ldap/common/llib-lldap b/usr/src/lib/libldap5/sources/ldap/common/llib-lldap
deleted file mode 100644
index 9ce0512704..0000000000
--- a/usr/src/lib/libldap5/sources/ldap/common/llib-lldap
+++ /dev/null
@@ -1,530 +0,0 @@
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2001, 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <stdio.h>
-#include <sys/types.h>
-#include <lber.h>
-#include <ldap.h>
-
-
-/*
- * in abandon.c:
- */
-int ldap_abandon_ext(LDAP *ld, int msgid, LDAPControl **serverctrls, LDAPControl ** clientctrls);
-
-int ldap_abandon( LDAP *ld, int msgid );
-
-/*
- * in add.c:
- */
-int ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
-
-int ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls);
-
-int ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs );
-int ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs );
-
-/*
- * in bind.c:
- */
-int ldap_bind(LDAP *ld, const char *dn, const char *passwd, int authmethod);
-int ldap_bind_s(LDAP *ld, const char *dn, const char *passwd, int authmethod);
-void ldap_set_rebind_proc(LDAP *ld, LDAP_REBINDPROC_CALLBACK *rebindproc, void *arg);
-
-/*
- * in sbind.c:
- */
-int ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd );
-int ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd );
-
-/*
- * in saslbind.c:
- */
-int ldap_sasl_bind(LDAP *ld, const char *dn, const char *mechanism, const struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
-
-int ldap_sasl_bind_s(LDAP *ld, const char *dn, const char *mechanism, const struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, struct berval **servercredp);
-
-/*
- * in kbind.c:
- */
-
-/*
- * in cache.c
- */
-
-/*
- * in compare.c:
- */
-int ldap_compare_ext(LDAP *ld, const char *dn, const char *attr, const struct berval *bvalue, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
-
-int ldap_compare_ext_s(LDAP *ld, const char *dn, const char *attr, const struct berval *bvalue, LDAPControl ** serverctrls, LDAPControl **clientctrls) ;
-
-int ldap_compare( LDAP *ld, const char *dn, const char *attr, const char *value );
-
-int ldap_compare_s( LDAP *ld, const char *dn, const char *attr, const char *value );
-
-/*
- * in delete.c:
- */
-int ldap_delete_ext(LDAP *ld, const char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
-
-int ldap_delete_ext_s(LDAP *ld, const char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls);
-
-int ldap_delete( LDAP *ld, const char *dn );
-int ldap_delete_s( LDAP *ld, const char *dn );
-
-/*
- * in error.c:
- */
-char *ldap_err2string( int err );
-void ldap_perror(LDAP *ld, const char *s);
-int ldap_result2error(LDAP *ld, LDAPMessage *r, int freeit);
-int ldap_get_lderrno(LDAP *ld, char **m, char **s);
-int ldap_set_lderrno(LDAP *ld, int e, char *m, char *s);
-
-/*
- * in modify.c:
- */
-int ldap_modify_ext(LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp);
-
-int ldap_modify_ext_s(LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls) ;
-
-int ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods );
-int ldtap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods );
-
-/*
- * in modrdn.c:
- */
-
-/*
- * in rename.c:
- */
-int ldap_rename(LDAP *ld, const char *dn, const char *newrdn, const char *newparent, int deleteoldrdn, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp);
-
-int ldap_rename_s(LDAP *ld, const char *dn, const char *newrdn, const char *newparent, int deleteoldrdn, LDAPControl ** serverctrls, LDAPControl **clientctrls);
-
-int ldap_modrdn(LDAP *ld, const char *dn, const char *newrdn);
-int ldap_modrdn_s(LDAP *ld, const char *dn, const char *newrdn);
-int ldap_modrdn2(LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn);
-
-int ldap_modrdn2_s(LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn);
-
-/*
- * in open.c:
- */
-LDAP *ldap_init( const char *defhost, int defport );
-LDAP *ldap_open(const char *host, int port);
-int ldap_version(LDAPVersion *ver);
-
-/*
- * in getentry.c:
- */
-LDAPMessage *ldap_first_entry( LDAP *ld, LDAPMessage *res );
-LDAPMessage *ldap_next_entry( LDAP *ld, LDAPMessage *entry );
-int ldap_count_entries( LDAP *ld, LDAPMessage *res );
-int ldap_get_entry_controls(LDAP *ld, LDAPMessage *entry, LDAPControl ***serverctrlsp);
-
-/*
- * in getmsg.c:
- */
-LDAPMessage *ldap_first_message( LDAP *ld, LDAPMessage *res );
-LDAPMessage *ldap_next_message( LDAP *ld, LDAPMessage *msg );
-int ldap_count_messages( LDAP *ld, LDAPMessage *res );
-
-/*
- * in getref.c:
- */
-LDAPMessage *ldap_first_reference( LDAP *ld, LDAPMessage *res );
-LDAPMessage *ldap_next_reference( LDAP *ld, LDAPMessage *entry );
-int ldap_count_references( LDAP *ld, LDAPMessage *res );
-
-/*
- * in getdn.c
- */
-char *ldap_get_dn( LDAP *ld, LDAPMessage *entry );
-char **ldap_explode_dn( const char *dn, const int notypes );
-char ** ldap_explode_rdn( const char *rdn, const int notypes );
-char *ldap_dn2ufn( const char *dn );
-char **ldap_explode_dns( const char *dn );
-int ldap_is_dns_dn( const char *dn );
-char *ldap_dns_to_dn(char *dns_name, int *nameparts);
-
-/*
- * in getattr.c
- */
-char *ldap_first_attribute( LDAP *ld, LDAPMessage *entry,
- BerElement **ber );
-
-char *ldap_next_attribute( LDAP *ld, LDAPMessage *entry,
- BerElement *ber );
-
-void ldap_memfree(void *p);
-
-/*
- * in getvalues.c
- */
-char **ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target );
-int ldap_count_values( char **vals );
-int ldap_count_values_len( struct berval **vals );
-void ldap_value_free( char **vals );
-void ldap_value_free_len( struct berval **vals );
-
-struct berval **ldap_get_values_len(LDAP *ld, LDAPMessage *entry, const char *target);
-
-char **ldap_get_lang_values(LDAP *ld, LDAPMessage *entry, const char *target, char **type);
-
-struct berval **ldap_get_lang_values_len(LDAP *ld, LDAPMessage *entry, const char *target, char **type);
-
-/*
- * in referral.c:
- */
-int ldap_parse_reference(LDAP *ld, LDAPMessage *ref,
- char ***referralsp, LDAPControl ***serverctrlsp, int freeit);
-char ** ldap_get_reference_urls(LDAP *ld, LDAPMessage *res);
-
-/*
- * in result.c:
- */
-int ldap_result( LDAP *ld, int msgid, int all,
- struct timeval *timeout, LDAPMessage **result );
-
-int ldap_msgfree( LDAPMessage *lm );
-int ldap_msgtype( LDAPMessage *res );
-int ldap_msgid( LDAPMessage *res );
-int ldap_parse_result(LDAP *ld, LDAPMessage *res, int *errcodep, char **matcheddnp, char **errmsgp, char ***referralsp, LDAPControl ***serverctrlsp, int freeit) ;
-
-int ldap_parse_sasl_bind_result(LDAP *ld, LDAPMessage *res, struct berval **servercredp, int freeit);
-
-int ldap_parse_extended_result(LDAP *ld, LDAPMessage *res, char **resultoidp, struct berval **resultdata, int freeit);
-
-/*
- * in search.c:
- */
-int ldap_search_ext(LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, int *msgidp);
-
-int ldap_search_ext_s(LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, LDAPMessage **res);
-
-int ldap_search( LDAP *ld, const char *base, int scope, const char *filter,
- char **attrs, int attrsonly );
-
-int ldap_search_s( LDAP *ld, const char *base, int scope, const char *filter,
- char **attrs, int attrsonly, LDAPMessage **res );
-
-int ldap_search_st( LDAP *ld, const char *base, int scope, const char *filter,
- char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res );
-
-/*
- * in ufn.c
- */
-int ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs,
- int attrsonly, LDAPMessage **res, LDAP_CANCELPROC_CALLBACK cancelproc,
- void *cancelparm );
-
-int ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs,
- int attrsonly, LDAPMessage **res, LDAP_CANCELPROC_CALLBACK cancelproc,
- void *cancelparm, char *tag1, char *tag2, char *tag3 );
-
-int ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs,
- int attrsonly, LDAPMessage **res );
-
-LDAPFiltDesc *ldap_ufn_setfilter( LDAP *ld, char *fname );
-void ldap_ufn_setprefix( LDAP *ld, char *prefix );
-int ldap_ufn_timeout( void *tvparam );
-
-
-/*
- * in unbind.c
- */
-int ldap_unbind( LDAP *ld );
-int ldap_unbind_s( LDAP *ld );
-int ldap_unbind_ext(LDAP *ld, LDAPControl **serverctrls, LDAPControl **clientctrls);
-
-
-/*
- * in getfilter.c
- */
-LDAPFiltDesc *ldap_init_getfilter( char *fname );
-LDAPFiltDesc *ldap_init_getfilter_buf( char *buf, ssize_t buflen );
-LDAPFiltInfo *ldap_getfirstfilter( LDAPFiltDesc *lfdp, char *tagpat,
- char *value );
-
-LDAPFiltInfo *ldap_getnextfilter( LDAPFiltDesc *lfdp );
-void ldap_setfilteraffixes( LDAPFiltDesc *lfdp, char *prefix, char *suffix );
-void ldap_build_filter( char *filtbuf, size_t buflen,
- char *pattern, char *prefix, char *suffix, char *attr,
- char *value, char **valwords );
-
-int ldap_create_filter(char *buf, unsigned long buflen, char *pattern, char *prefix, char *suffix, char *attr, char *value, char **valwords);
-
-/*
- * in free.c
- */
-void ldap_getfilter_free( LDAPFiltDesc *lfdp );
-void ldap_mods_free( LDAPMod **mods, int freemods );
-void ldap_ber_free(BerElement *ber, int freebuf);
-
-/*
- * in friendly.c
- */
-char *ldap_friendly_name( char *filename, char *uname,
- FriendlyMap *map );
-
-void ldap_free_friendlymap( FriendlyMap *map );
-
-
-/*
- * in cldap.c
- */
-
-
-/*
- * in sort.c
- */
-int ldap_sort_entries( LDAP *ld, LDAPMessage **chain, char *attr,
- int (*cmp)() );
-
-int ldap_sort_values( LDAP *ld, char **vals, int (*cmp)() );
-int ldap_sort_strcasecmp( const char **a, const char **b );
-int ldap_multisort_entries(LDAP *ld, LDAPMessage **chain, char **attr, LDAP_CMP_CALLBACK *cmp);
-
-
-/*
- * in url.c
- */
-int ldap_is_ldap_url( const char *url );
-int ldap_url_parse( const char *url, LDAPURLDesc **ludpp );
-int ldap_url_parse_nodn(const char *url, LDAPURLDesc **ludpp);
-void ldap_free_urldesc( LDAPURLDesc *ludp );
-int ldap_url_search( LDAP *ld, const char *url, int attrsonly );
-int ldap_url_search_s( LDAP *ld, const char *url, int attrsonly,
- LDAPMessage **res );
-
-int ldap_url_search_st( LDAP *ld, const char *url, int attrsonly,
- struct timeval *timeout, LDAPMessage **res );
-
-char *ldap_dns_to_url(LDAP *ld, char *dns_name, char *attrs,
-char *scope, char *filter);
-char *ldap_dn_to_url(LDAP *ld, char *dn, int nameparts);
-
-
-/*
- * in charset.c
- */
-void ldap_set_string_translators( LDAP *ld,
- BERTranslateProc encode_proc, BERTranslateProc decode_proc );
-
-int ldap_translate_from_t61( LDAP *ld, char **bufp,
- unsigned int *lenp, int free_input );
-
-int ldap_translate_to_t61( LDAP *ld, char **bufp,
- unsigned int *lenp, int free_input );
-
-void ldap_enable_translation( LDAP *ld, LDAPMessage *entry,
- int enable );
-
-int ldap_t61_to_8859(char **bufp, unsigned long *buflenp,
- int free_input);
-
-int ldap_8859_to_t61(char **bufp, unsigned long *buflenp,
- int free_input);
-
-
-/*
- * in io.c
- */
-BerElement *ber_alloc_t(int options);
-int ber_flatten(BerElement *ber, struct berval **bvPtr);
-void ber_free(BerElement *ber, int freebuf);
-BerElement *ber_alloc(void);
-BerElement *ber_init(const struct berval *bv);
-
-/*
- * in decode.c
- */
-struct berval *ber_bvdup(const struct berval *bv);
-void ber_bvecfree(struct berval **bv);
-void ber_bvfree(struct berval *bv);
-ber_tag_t ber_first_element(BerElement *ber, unsigned int *len, char **last);
-ber_tag_t ber_next_element(BerElement *ber, ber_tag_t *len, char *last);
-ber_tag_t ber_peek_tag(BerElement *ber, ber_tag_t *len);
-ber_tag_t ber_scanf(BerElement *ber, const char *fmt, ...);
-ber_tag_t ber_skip_tag(BerElement *ber, ber_tag_t *len);
-ber_tag_t ber_get_int(BerElement *ber, ber_int_t *num);
-
-/*
- * in encode.c
- */
-int ber_printf(BerElement *ber, const char *fmt, ...);
-
-/*
- * in control.c
- */
-void ldap_control_free (LDAPControl *ctrl);
-void ldap_controls_free (LDAPControl **ctrls);
-
-/*
- * in spagectrl.c
- */
-int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output);
-
-int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie);
-
-/*
- * in tmplout.c
- */
-int ldap_entry2html(LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts, char *urlprefix, char *base);
-
-int ldap_entry2html_search(LDAP *ld, char *dn, char *base, LDAPMessage *entry, struct ldap_disptmpl*tmpllist, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol,int rdncount, unsigned long opts, char *urlprefix);
-
-int ldap_entry2text(LDAP *ld, char *buf, LDAPMessage *entry, struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol, int rdncount, unsigned long opts);
-
-int ldap_entry2text_search(LDAP *ld,char *dn, char *base, LDAPMessage *entry, struct ldap_disptmpl*tmpllist, char **defattrs, char ***defvals, writeptype writeproc, void *writeparm, char *eol,int rdncount, unsigned long opts);
-
-int ldap_vals2html(LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount, char *urlprefix);
-
-int ldap_vals2text(LDAP *ld, char *buf, char **vals, char *label, int labelwidth, unsigned long syntaxid, writeptype writeproc, void *writeparm, char *eol, int rdncount);
-
-/*
- * in extendop.c
- */
-int ldap_extended_operation(LDAP *ld, const char *requestoid, const struct berval *requestdata, LDAPControl **serverctrls, LDAPControl**clientctrls, int *msgidp);
-
-int ldap_extended_operation_s(LDAP *ld, const char *requestoid, const struct berval *requestdata, LDAPControl **serverctrls, LDAPControl **clientctrls, char **retoidp, struct berval **retdatap);
-
-/*
- * in disptmpl.c
- */
-struct ldap_disptmpl *ldap_first_disptmpl(struct ldap_disptmpl *tmpllist);
-struct ldap_tmplitem *ldap_first_tmplcol(struct ldap_disptmpl *tmpl,struct ldap_tmplitem *row);
-
-struct ldap_tmplitem *ldap_first_tmplrow(struct ldap_disptmpl *tmpl);
-void ldap_free_templates(struct ldap_disptmpl *tmpllist);
-int ldap_init_templates(char *file, struct ldap_disptmpl **tmpllistp);
-
-int ldap_init_templates_buf(char *buf, long buflen, struct ldap_disptmpl **tmpllistp);
-
-struct ldap_disptmpl *ldap_next_disptmpl(struct ldap_disptmpl *tmpllist, struct ldap_disptmpl *tmpl);
-
-struct ldap_tmplitem *ldap_next_tmplcol(struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row, struct ldap_tmplitem *col);
-
-struct ldap_tmplitem *ldap_next_tmplrow(struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row);
-
-struct ldap_disptmpl *ldap_oc2template(char **oclist, struct ldap_disptmpl *tmpllist);
-
-char **ldap_tmplattrs(struct ldap_disptmpl *tmpl, char **includeattrs, int exclude, unsigned long syntaxmask);
-
-struct ldap_disptmpl *ldap_name2template(char *name, struct ldap_disptmpl *tmpllist);
-
-/*
- * in cram_md5.c
- */
-int ldap_sasl_cram_md5_bind_s(LDAP *ld, char *dn, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls);
-
-/*
- * in setoption.c
- */
-int ldap_set_option (LDAP *ld, int option, const void *optdata);
-
-/*
- * in log.c
- */
-void ldaplogconfigf(FILE *fd);
-
-/*
- * in line64.c
- */
-char *ldif_type_and_value(char *type, char *val, int vlen);
-char *str_getline(char **next);
-int str_parse_line(char *line, char **type, char **value, int *vlen);
-
-/*
- * in sortctrl.c
- */
-int ldap_create_sort_control (LDAP *ld, LDAPsortkey **sortKeyList, const char ctl_iscritical, LDAPControl **ctrlp);
-
-int ldap_parse_sort_control(LDAP *ld, LDAPControl **ctrlp, unsigned long *result, char **attribute);
-
-int ldap_create_sort_keylist(LDAPsortkey ***sortKeyList, const char *string_rep);
-
-void ldap_free_sort_keylist(LDAPsortkey **sortKeyList);
-
-/*
- * in vlistctrl.c
- */
-int ldap_create_virtuallist_control(LDAP *ld, LDAPVirtualList *ldvlistp, LDAPControl **ctrlp);
-
-int ldap_parse_virtuallist_control(LDAP *ld, LDAPControl **ctrls, unsigned long *target_posp, unsigned long *list_sizep, int *errcodep);
-
-/*
- * in ldapsinit.c
- */
-LDAP * ldapssl_init( const char *defhost, int defport, int defsecure );
-int ldapssl_install_routines( LDAP *ld );
-int ldapssl_enable_clientauth( LDAP *ld, char *keynickname, char *keypasswd, char *certnickname );
-
-/*
- * in clientinit.c
- */
-int ldapssl_client_init( const char *certdbpath, void *certdbhandle);
-int ldapssl_clientauth_init(const char *certdbpath, void *certdbhandle, const int needkeydb, const char *keydbpath, void *keydbhandle);
-
-int ldapssl_advclientauth_init( const char *certdbpath, void *certdbhandle, const int needkeydb, const char *keydbpath, void *keydbhandle, const int needsecmoddb, const char *secmoddbpath, const int sslstrength );
-
-int ldapssl_pkcs_init( const struct ldapssl_pkcs_fns *pfns);
-
-/*
- * in errormap.c
- */
-const char * ldapssl_err2string( const int prerrno );
-
-/*
- * in psearch.c
- */
-int ldap_create_persistentsearch_control(LDAP *ld, int changetypes, int changesonly, int return_echg_ctls, char ctl_iscritical, LDAPControl **ctrlp);
-
-int ldap_parse_entrychange_control(LDAP *ld, LDAPControl **ctrls, int *chgtypep, char **prevdnp, int *chgnumpresentp, ber_int_t *chgnump);
-
-/*
- * in proxyauthctrl.c
- */
-int ldap_create_proxyauth_control(LDAP *ld, const char *dn, const char ctl_iscritical, LDAPControl **ctrlp);
-
-int ldap_create_proxiedauth_control(LDAP *ld, const char *authzid, LDAPControl **ctrlp);
-
-/*
- * in srchpref.c
- */
-struct ldap_searchobj *ldap_first_searchobj(struct ldap_searchobj *solist);
-void ldap_free_searchprefs(struct ldap_searchobj *solist);
-int ldap_init_searchprefs(char *file, struct ldap_searchobj **solistp);
-int ldap_init_searchprefs_buf(char *buf, long buflen, struct ldap_searchobj **solistp);
-
-struct ldap_searchobj *ldap_next_searchobj(struct ldap_searchobj *solist, struct ldap_searchobj *so);
-
-/*
- * in getoption.c
- */
-int ldap_get_option (LDAP *ld, int option, void *outvalue);
-
-/*
- * in memcache.c
- */
-int ldap_memcache_init(unsigned long ttl, unsigned long size, char **baseDNs, struct ldap_thread_fns *thread_fns, LDAPMemCache **cachep);
-
-int ldap_memcache_set(LDAP *ld, LDAPMemCache *cache);
-int ldap_memcache_get(LDAP *ld, LDAPMemCache **cachep);
-void ldap_memcache_flush(LDAPMemCache *cache, char *dn, int scope);
-void ldap_memcache_destroy(LDAPMemCache *cache);
-void ldap_memcache_update(LDAPMemCache *cache);
-
-/*
- * in digest_md5.c
- */
-int ldap_x_sasl_digest_md5_bind_s(LDAP *ld, char *dn, struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls);
diff --git a/usr/src/lib/liblgrp/common/llib-llgrp b/usr/src/lib/liblgrp/common/llib-llgrp
deleted file mode 100644
index d108f2acd7..0000000000
--- a/usr/src/lib/liblgrp/common/llib-llgrp
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/lgrp_user.h>
diff --git a/usr/src/lib/libm/common/llib-lm b/usr/src/lib/libm/common/llib-lm
deleted file mode 100644
index 6a6613076b..0000000000
--- a/usr/src/lib/libm/common/llib-lm
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#undef __PRAGMA_REDEFINE_EXTNAME
-#include <math.h>
-#if defined(_STDC_C99)
-#undef isnan
-extern int isnan(double);
-extern int isnand(double); /* LSARC/2003/670 */
-typedef union _h_val {
- unsigned long _i[2];
- double _d;
-} _h_val;
-extern const _h_val __huge_val;
-#endif
-#include <fenv.h>
-#include <complex.h>
-#undef clog
-extern double complex clog(double complex);
diff --git a/usr/src/lib/libmail/common/llib-lmail b/usr/src/lib/libmail/common/llib-lmail
deleted file mode 100644
index 5db5e51906..0000000000
--- a/usr/src/lib/libmail/common/llib-lmail
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1999, by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <maillock.h>
-
-/*
- * usr/src/lib/libmail
- */
-
-/* maillock.c */
-int maillock(char *, int);
-void mailunlock(void);
-void touchlock(void);
diff --git a/usr/src/lib/libmalloc/common/llib-lmalloc b/usr/src/lib/libmalloc/common/llib-lmalloc
deleted file mode 100644
index 9410703ff2..0000000000
--- a/usr/src/lib/libmalloc/common/llib-lmalloc
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <malloc.h>
-
-void *valloc(size_t size);
-void *memalign(size_t alignment, size_t size);
-void cfree(void *p, size_t num, size_t size);
diff --git a/usr/src/lib/libmapid/common/llib-lmapid b/usr/src/lib/libmapid/common/llib-lmapid
deleted file mode 100644
index 4cf9a31082..0000000000
--- a/usr/src/lib/libmapid/common/llib-lmapid
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <nfs/mapid.h>
-void mapid_reeval_domain(cb_t *);
-int mapid_stdchk_domain(const char *);
-char *mapid_derive_domain(void);
-char *mapid_get_domain(void);
diff --git a/usr/src/lib/libmapmalloc/common/llib-lmapmalloc b/usr/src/lib/libmapmalloc/common/llib-lmapmalloc
deleted file mode 100644
index ca5bba911e..0000000000
--- a/usr/src/lib/libmapmalloc/common/llib-lmapmalloc
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <malloc.h>
-
-void cfree(void *p, size_t num, size_t size);
diff --git a/usr/src/lib/libmd/common/llib-lmd b/usr/src/lib/libmd/common/llib-lmd
deleted file mode 100644
index 1d61afcff5..0000000000
--- a/usr/src/lib/libmd/common/llib-lmd
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <md5.h>
-#include <sha1.h>
-#include <sha2.h>
-#include <md4.h>
diff --git a/usr/src/lib/libmd5/common/llib-lmd5 b/usr/src/lib/libmd5/common/llib-lmd5
deleted file mode 100644
index 0235ae5c81..0000000000
--- a/usr/src/lib/libmd5/common/llib-lmd5
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <md5.h>
diff --git a/usr/src/lib/libmlrpc/common/llib-lmlrpc b/usr/src/lib/libmlrpc/common/llib-lmlrpc
deleted file mode 100644
index 3345e6129a..0000000000
--- a/usr/src/lib/libmlrpc/common/llib-lmlrpc
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libmlrpc.h>
diff --git a/usr/src/lib/libndmp/common/llib-lndmp b/usr/src/lib/libndmp/common/llib-lndmp
deleted file mode 100644
index 06e5ee1d02..0000000000
--- a/usr/src/lib/libndmp/common/llib-lndmp
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * BSD 3 Clause License
- *
- * Copyright (c) 2007, The Storage Networking Industry Association.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * - Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * - Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * - Neither the name of The Storage Networking Industry Association (SNIA)
- * nor the names of its contributors may be used to endorse or promote
- * products derived from this software without specific prior written
- * permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libndmp.h>
diff --git a/usr/src/lib/libnls/common/llib-lnls b/usr/src/lib/libnls/common/llib-lnls
deleted file mode 100644
index 6dc0e03b3a..0000000000
--- a/usr/src/lib/libnls/common/llib-lnls
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1997 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-
-/*
- * usr/src/lib/libnls
- */
diff --git a/usr/src/lib/libnsl/common/llib-lnsl b/usr/src/lib/libnsl/common/llib-lnsl
deleted file mode 100644
index 8a1fba5b94..0000000000
--- a/usr/src/lib/libnsl/common/llib-lnsl
+++ /dev/null
@@ -1,1086 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * Copyright 2018 Nexenta Systems, Inc.
- */
-
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <sys/types.h>
-#include <thread.h>
-#include <synch.h>
-#include <fcntl.h>
-#include <sys/des.h>
-#include <des/softdes.h>
-#include <des/desdata.h>
-#include <rpc/rpc.h>
-#include <rpc/key_prot.h>
-#include <rpc/des_crypt.h>
-#include <rpc/pmap_prot.h>
-#include <sys/ioctl.h>
-#include <netdir.h>
-#include <nss_netdir.h>
-#include <nss_dbdefs.h>
-#include <sac.h>
-#include <netconfig.h>
-#include <ndbm.h>
-#include <rpcsvc/yp_prot.h>
-#include <rpcsvc/ypclnt.h>
-#include <rpcsvc/yppasswd.h>
-#include <rpcsvc/ypupd.h>
-#include <rpcsvc/nis.h>
-#include <rpcsvc/nislib.h>
-#include <sys/stream.h>
-#include <sys/stropts.h>
-#include <sys/tihdr.h>
-#include <sys/timod.h>
-#include <tiuser.h>
-
-
-/*
- * Declare t_errno, even though this file is compiled '_REENTRANT'. This
- * way t_errno is defined in the lint library, which is used for programs
- * compiled with _REENTRANT and those compiled without it.
- */
-#ifdef t_errno
-#undef t_errno
-#endif
-extern int t_errno;
-
-/*
- * usr/src/lib/libnsl/common routines
- */
-
-/* common.c */
-
-/*
- * usr/src/lib/libnsl/des routines
- */
-
-/* des_crypt.c */
-int cbc_crypt(char *key, char *buf, size_t len, uint_t mode, char *ivec);
-int ecb_crypt(char *key, char *buf, size_t len, uint_t mode);
-
-/* des_soft.c */
-void des_setparity(char *p);
-int __des_crypt(char *buf, unsigned len, struct desparams *desp);
-
-/* intl_crypt.c */
-
-/* intl_soft.c */
-int _des_crypt(char *buf, unsigned len, struct desparams *desp);
-
-/*
- * usr/src/lib/libnsl/dial routines
- */
-
-/* callers.c */
-
-/* conn.c */
-
-/* dial.c */
-void undial(int fd);
-
-/* getargs.c */
-
-/* interface.c */
-
-/* line.c */
-
-/* stoa.c */
-
-/* strecpy.c */
-
-/* strsave.c */
-
-/* sysfiles.c */
-
-/* ulockf.c */
-
-/* uucpdefs.c */
-
-/*
- * usr/src/lib/libnsl/key routines
- */
-
-/* gen_dhkeys.c */
-void __gen_dhkeys(char *public, char *secret, char *pass);
-
-/* publickey.c */
-int getpublickey(const char *netname, char *pkey);
-int __getpublickey_cached(char *netname, char *pkey, int *from_cache);
-void __getpublickey_flush(const char *netname);
-int getsecretkey(const char *netname, char *skey, const char *passwd);
-
-/* xcrypt.c */
-int xencrypt(char *secret, char *passwd);
-int xdecrypt(char *secret, char *passwd);
-int passwd2des(char *pw, char *key);
-
-/*
- * usr/src/lib/libnsl/netdir routines
- */
-
-/* netdir.c */
-int *__nderror(void);
-int netdir_getbyname(struct netconfig *tp, struct nd_hostserv *serv,
- struct nd_addrlist **addrs);
-int netdir_getbyaddr(struct netconfig *tp, struct nd_hostservlist **serv,
- struct netbuf *addr);
-int __netdir_getbyaddr_nosrv(struct netconfig *tp,
- struct nd_hostservlist **serv,
- struct netbuf *addr);
-int netdir_options(struct netconfig *tp, int option, int fd, char *par);
-struct netbuf *uaddr2taddr(struct netconfig *tp, char *addr);
-char *taddr2uaddr(struct netconfig *tp, struct netbuf *addr);
-void netdir_free(void *ptr, int type);
-char *netdir_sperror(void);
-void netdir_perror(char *s);
-
-/*
- * usr/src/lib/libnsl/netselect routines
- */
-
-/* netselect.c */
-void *setnetconfig(void);
-int endnetconfig(void *vdata);
-struct netconfig *getnetconfig(void *vdata);
-struct netconfig *getnetconfigent(const char *netid);
-void freenetconfigent(struct netconfig *netp);
-void *setnetpath(void);
-int endnetpath(void *vdata);
-struct netconfig *getnetpath(void *vdata);
-char *nc_sperror(void);
-void nc_perror(const char *string);
-
-/*
- * usr/src/lib/libnsl/nis/gen routines
- */
-
-/* nis_subr.c */
-name_pos nis_dir_cmp(nis_name n1, nis_name n2);
-nis_name nis_local_group(void);
-nis_name nis_domain_of(char *s);
-nis_name nis_leaf_of_r(const nis_name s, char *buf, size_t bufsize);
-nis_name nis_leaf_of(char *s);
-nis_name nis_name_of(char *s);
-nis_name nis_local_directory(void);
-nis_name nis_local_host(void);
-void nis_destroy_object(nis_object *obj);
-nis_object *nis_clone_object(nis_object *obj, nis_object *dest);
-nis_object *nis_read_obj(char *f);
-int nis_write_obj(char *f, nis_object *o);
-void *nis_get_static_storage(struct nis_sdata *bs, u_int el, u_int nel);
-/*
- * char *nis_old_data(char *s);
- * char *nis_data(char *s);
- */
-
-/* nis_xdr.c */
-bool_t xdr_nis_attr(XDR *xdrs, nis_attr *objp);
-bool_t xdr_nis_name(XDR *xdrs, nis_name *objp);
-bool_t xdr_endpoint(XDR *xdrs, endpoint *objp);
-bool_t xdr_nis_server(XDR *xdrs, nis_server *objp);
-bool_t xdr_directory_obj(XDR *xdrs, directory_obj *objp);
-bool_t xdr_entry_obj(XDR *xdrs, entry_obj *objp);
-bool_t xdr_table_obj(XDR *xdrs, table_obj *objp);
-bool_t xdr_objdata(XDR *xdrs, objdata *objp);
-bool_t xdr_nis_oid(XDR *xdrs, nis_oid *objp);
-bool_t xdr_nis_object(XDR *xdrs, nis_object *objp);
-bool_t xdr_nis_object(XDR *xdrs, nis_object *objp);
-bool_t xdr_log_entry_t(XDR *xdrs, log_entry_t *objp);
-bool_t xdr_log_entry(XDR *xdrs, log_entry *objp);
-bool_t xdr_nis_tag(XDR *xdrs, nis_tag *objp);
-bool_t xdr_nis_bound_endpoint(XDR *xdrs, nis_bound_endpoint *objp);
-bool_t xdr_nis_bound_directory(XDR *xdrs, nis_bound_directory *objp);
-bool_t xdr_nis_active_endpoint(XDR *xdrs, nis_active_endpoint *objp);
-
-/* thr_misc.c */
-
-/*
- * usr/src/lib/libnsl/nsl routines
- */
-
-/* _conn_util.c */
-
-/* _data2.c */
-
-/* _errlst.c */
-int *__t_errno(void);
-
-/* _utility.c */
-
-/* t_accept.c */
-int t_accept(int, int, struct t_call *);
-
-/* t_alloc.c */
-char *t_alloc(int, int, int);
-
-/* t_bind.c */
-int t_bind(int, struct t_bind *, struct t_bind *);
-
-/* t_close.c */
-int t_close(int);
-
-/* t_connect.c */
-int t_connect(int, struct t_call *, struct t_call *);
-
-/* t_error.c */
-void t_error(const char *);
-
-/* t_free.c */
-int t_free(char *, int);
-
-/* t_getinfo.c */
-int t_getinfo(int, struct t_info *);
-
-/* t_getname.c */
-int t_getname(int, struct netbuf *, int);
-
-/* t_getstate.c */
-int t_getstate(int);
-
-/* t_listen.c */
-int t_listen(int, struct t_call *);
-
-/* t_look.c */
-int t_look(int);
-
-/* t_open.c */
-int t_open(const char *, int, struct t_info *);
-
-/* t_optmgmt.c */
-int t_optmgmt(int, struct t_optmgmt *, struct t_optmgmt *);
-
-/* t_rcv.c */
-int t_rcv(int, char *, unsigned, int *);
-
-/* t_rcvconnect.c */
-int t_rcvconnect(int, struct t_call *);
-
-/* t_rcvdis.c */
-int t_rcvdis(int, struct t_discon *);
-
-/* t_rcvrel.c */
-int t_rcvrel(int);
-
-/* t_rcvudata.c */
-int t_rcvudata(int, struct t_unitdata *, int *);
-
-/* t_rcvuderr.c */
-int t_rcvuderr(int, struct t_uderr *);
-
-/* t_snd.c */
-int t_snd(int, char *, unsigned, int);
-
-/* t_snddis */
-int t_snddis(int, struct t_call *);
-
-/* t_sndrel.c */
-int t_sndrel(int);
-
-/* t_sndudata.c */
-int t_sndudata(int, struct t_unitdata *);
-
-/* t_strerror.c */
-char *t_strerror(int);
-
-/* t_sync.c */
-int t_sync(int);
-
-/* t_unbind.c */
-int t_unbind(int);
-
-/*
- * struct t_iovec is defined in <xti.h>. But <xti.h> cannot be included
- * because inclusion of <xti.h> and <tiuser.h> are mututally exclusive
- * and <tiuser.h> is exposed by the inclusion of <rpc/rpc.h>. Needs to
- * be seen how to build llib-lnsl.ln from multiple source files to avoid
- * this problem.
- */
-struct t_iovec {
- void *iov_base;
- size_t iov_len;
-};
-
-/* t_sndv.c */
-int t_sndv(int, const struct t_iovec *, unsigned int, int);
-
-/* t_sndvudata.c */
-int t_sndvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int);
-
-/* t_sndreldata.c */
-int t_sndreldata(int, struct t_discon *);
-
-/* t_rcvv.c */
-int t_rcvv(int, struct t_iovec *, unsigned int, int *);
-
-/* t_rcvvudata.c */
-int t_rcvvudata(int, struct t_unitdata *, struct t_iovec *,
- unsigned int, int *);
-
-/* t_rcvreldata.c */
-extern int t_rcvreldata(int, struct t_discon *);
-
-/* t_sysconf.c */
-int t_sysconf(int);
-
-/* xti_wrappers.c */
-int _xti_accept(int, int, struct t_call *);
-int _xti_xns5_accept(int, int, struct t_call *);
-char *_xti_alloc(int, int, int);
-int _xti_bind(int, struct t_bind *, struct t_bind *);
-int _xti_close(int);
-int _xti_connect(int, struct t_call *, struct t_call *);
-int _xti_error(char *);
-int _xti_free(char *, int);
-int _xti_getinfo(int, struct t_info *);
-int _xti_getprotaddr(int, struct t_bind *, struct t_bind *);
-int _xti_getstate(int);
-int _xti_listen(int, struct t_call *);
-int _xti_look(int);
-int _xti_open(char *, int, struct t_info *);
-int _xti_optmgmt(int, struct t_optmgmt *, struct t_optmgmt *);
-int _xti_rcv(int, char *, unsigned int, int *);
-int _xti_rcvconnect(int, struct t_call *);
-int _xti_rcvdis(int, struct t_discon *);
-int _xti_rcvrel(int);
-int _xti_rcvreldata(int, struct t_discon *);
-int _xti_rcvudata(int, struct t_unitdata *, int *);
-int _xti_rcvuderr(int, struct t_uderr *);
-int _xti_rcvv(int, struct t_iovec *, unsigned int, int *);
-int _xti_rcvvudata(int, struct t_unitdata *, struct t_iovec *,
- unsigned int, int *);
-int _xti_snd(int, char *, unsigned int, int);
-int _xti_xns5_snd(int, char *, unsigned int, int);
-int _xti_snddis(int, struct t_call *);
-int _xti_sndrel(int);
-int _xti_sndreldata(int, struct t_discon *);
-int _xti_sndudata(int, struct t_unitdata *);
-int _xti_sndv(int, const struct t_iovec *, unsigned int, int);
-int _xti_sndvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int);
-char *_xti_strerror(int);
-int _xti_sync(int);
-int _xti_sysconf(int);
-int _xti_unbind(int);
-
-/*
- * usr/src/lib/libnsl/nss routines
- */
-
-/* gethostby_door.c */
-
-/* gethostbyname_r.c */
-struct hostent *_uncached_gethostbyname_r(const char *nam,
- struct hostent *result,
- char *buffer, int buflen, int *h_errnop);
-struct hostent *_uncached_gethostbyaddr_r(const char *addr, int length,
- int type, struct hostent *result,
- char *buffer, int buflen, int *h_errnop);
-struct hostent *gethostbyname_r(const char *nam, struct hostent *result,
- char *buffer, int buflen, int *h_errnop);
-struct hostent *gethostbyaddr_r(const char *addr, int length, int type,
- struct hostent *result,
- char *buffer, int buflen, int *h_errnop);
-
-/* gethostent.c */
-struct hostent *gethostbyname(const char *nam);
-struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type);
-struct hostent *gethostent(void);
-
-/* gethostent_r.c */
-int sethostent(int stay);
-int endhostent(void);
-struct hostent *gethostent_r(struct hostent *result, char *buffer, int buflen,
- int *h_errnop);
-
-/* getipnodeby.c */
-void freehostent(struct hostent *hent);
-struct hostent *getipnodebyaddr(const void *src, size_t len, int type,
- int *error_num);
-struct hostent *getipnodebyname(const char *name, int af, int flags,
- int *error_num);
-
-/* getrpcent.c */
-struct rpcent *getrpcbyname(const char *nam);
-struct rpcent *getrpcbynumber(const int num);
-struct rpcent *getrpcent(void);
-
-/* getrpcent_r.c */
-struct rpcent *getrpcbyname_r(const char *name, struct rpcent *result,
- char *buffer, int buflen);
-struct rpcent *getrpcbynumber_r(const int number, struct rpcent *result,
- char *buffer, int buflen);
-void setrpcent(const int stay);
-void endrpcent(void);
-struct rpcent *getrpcent_r(struct rpcent *result, char *buffer, int buflen);
-
-/* inet_matchaddr.c */
-int inet_matchaddr(const void *, const char *);
-
-/* netdir_inet.c */
-int _get_hostserv_inetnetdir_byname(struct netconfig *nconf,
- struct nss_netdirbyname_in *args,
- union nss_netdirbyname_out *res);
-int _get_hostserv_inetnetdir_byaddr(struct netconfig *nconf,
- struct nss_netdirbyaddr_in *args,
- union nss_netdirbyaddr_out *res);
-int __nss2herrno(nss_status_t nsstat);
-nss_status_t _herrno2nss(int h_errno);
-struct hostent *_switch_gethostbyname_r(const char *name,
- struct hostent *result,
- char *buffer, int buflen, int *h_errnop);
-struct hostent *_switch_gethostbyaddr_r(const char *addr, int len, int type,
- struct hostent *result,
- char *buffer, int buflen, int *h_errnop);
-int str2servent(const char *instr, int lenstr, void *ent,
- char *buffer, int buflen);
-void *__inet_get_local_interfaces(void);
-void __inet_free_local_interfaces(void *p);
-int __inet_address_is_local(void *p, struct in_addr addr);
-int __inet_uaddr_is_local(void *p, struct netconfig *nc, char *uaddr);
-int __inet_address_count(void *p);
-ulong_t __inet_get_addr(void *p, int n);
-char *__inet_get_uaddr(void *p, struct netconfig *nc, int n);
-char *__inet_get_networka(void *p, int n);
-
-/* netdir_inet_sundry.c */
-
-/*
- * usr/src/lib/libnsl/rpc routines
- */
-
-/* auth_des.c */
-AUTH *authdes_seccreate(const char *servername, uint_t win,
- const char *timehost, const des_block *ckey);
-
-/* auth_none.c */
-AUTH *authnone_create(void);
-
-/* auth_sys.c */
-AUTH *authsys_create(const char *machname, uid_t uid, gid_t gid, int len,
- const gid_t *aup_gids);
-AUTH *authsys_create_default(void);
-
-/* auth_time.c */
-
-/* authdes_prot.c */
-bool_t xdr_authdes_cred(XDR *xdrs, struct authdes_cred *cred);
-bool_t xdr_authdes_verf(XDR *xdrs, struct authdes_verf *verf);
-
-/* authsys_prot.c */
-bool_t xdr_authsys_parms(XDR *xdrs, struct authsys_parms *p);
-bool_t xdr_uid_t(XDR *xdrs, uid_t *ip);
-bool_t xdr_gid_t(XDR *xdrs, gid_t *ip);
-
-/* clnt_bcast.c */
-enum clnt_stat rpc_broadcast_exp(rpcprog_t prog, rpcvers_t vers, rpcproc_t proc,
- xdrproc_t xargs, caddr_t argsp, xdrproc_t xresults,
- caddr_t resultsp, resultproc_t eachresult, int inittime,
- int waittime, const char *netclass);
-enum clnt_stat rpc_broadcast(rpcprog_t prog, rpcvers_t vers, rpcproc_t proc,
- xdrproc_t xargs, caddr_t argsp, xdrproc_t xresults,
- caddr_t resultsp, resultproc_t eachresult,
- const char *netclass);
-
-/* clnt_dg.c */
-CLIENT *clnt_dg_create(int fd, struct netbuf *svcaddr, rpcprog_t program,
- rpcvers_t version, uint_t sendsz, uint_t recvsz);
-
-/* clnt_door.c */
-CLIENT *clnt_door_create(rpcprog_t program, rpcvers_t version, uint_t sendsz);
-
-/* clnt_generic.c */
-CLIENT *clnt_create_vers(const char *hostname, rpcprog_t prog,
- rpcvers_t *vers_out, rpcvers_t vers_low,
- rpcvers_t vers_high, const char *nettype);
-CLIENT *clnt_create_vers_timed(const char *hostname, rpcprog_t prog,
- rpcvers_t *vers_out, rpcvers_t vers_low,
- rpcvers_t vers_high, const char *nettype,
- const struct timeval *tp);
-CLIENT *clnt_create(const char *hostname, rpcprog_t prog, rpcvers_t vers,
- const char *nettype);
-CLIENT *clnt_create_timed(const char *hostname, rpcprog_t prog, rpcvers_t vers,
- const char *netclass, const struct timeval *tp);
-CLIENT *clnt_tp_create(const char *hostname, rpcprog_t prog, rpcvers_t vers,
- const struct netconfig *nconf);
-CLIENT *clnt_tp_create_timed(const char *hostname, rpcprog_t prog,
- rpcvers_t vers, const struct netconfig *nconf,
- const struct timeval *tp);
-CLIENT *clnt_tli_create(int fd, const struct netconfig *nconf,
- struct netbuf *svcaddr, rpcprog_t prog, rpcvers_t vers,
- uint_t sendsz, uint_t recvsz);
-
-/* clnt_perror.c */
-char *clnt_sperror(const CLIENT *cl, const char *s);
-void clnt_perror(const CLIENT *cl, const char *s);
-void clnt_perrno(enum clnt_stat num);
-char *clnt_spcreateerror(const char *s);
-void clnt_pcreateerror(const char *s);
-const char *clnt_sperrno(const enum clnt_stat stat);
-
-/* clnt_raw.c */
-CLIENT *clnt_raw_create(rpcprog_t prog, rpcvers_t vers);
-
-/* clnt_simple.c */
-enum clnt_stat rpc_call(const char *host, rpcprog_t prognum, rpcvers_t versnum,
- rpcproc_t procnum, xdrproc_t inproc, const char *in,
- xdrproc_t outproc, char *out, const char *netclass);
-
-/* clnt_vc.c */
-CLIENT *clnt_vc_create(int fd, struct netbuf *svcaddr, rpcprog_t prog,
- rpcvers_t vers, uint_t sendsz, uint_t recvsz);
-
-/* getdname.c */
-int getdomainname(char *name, int namelen);
-int setdomainname(char *domain, int len);
-
-/* gethostname.c */
-int gethostname(char *hname, int hlen);
-
-/* key_call.c */
-int key_setsecret(const char *secretkey);
-int key_secretkey_is_set(void);
-int key_encryptsession_pk(const char *remotename, netobj *remotekey,
- des_block *deskey);
-int key_decryptsession_pk(const char *remotename, netobj *remotekey,
- des_block *deskey);
-
-int key_encryptsession(const char *remotename, des_block *deskey);
-int key_decryptsession(const char *remotename, des_block *deskey);
-int key_gendes(des_block *key);
-int key_setnet(struct key_netstarg *arg);
-int key_get_conv(char *pkey, des_block *deskey);
-int key_call(ulong_t proc, xdrproc_t xdr_arg, char *arg, xdrproc_t xdr_rslt,
- char *rslt);
-
-/* key_prot.c */
-bool_t xdr_keystatus(XDR *xdrs, keystatus *objp);
-bool_t xdr_keybuf(XDR *xdrs, keybuf objp);
-bool_t xdr_netnamestr(XDR *xdrs, netnamestr *objp);
-bool_t xdr_cryptkeyarg(XDR *xdrs, cryptkeyarg *objp);
-bool_t xdr_cryptkeyarg2(XDR *xdrs, cryptkeyarg2 *objp);
-bool_t xdr_cryptkeyres(XDR *xdrs, cryptkeyres *objp);
-bool_t xdr_unixcred(XDR *xdrs, unixcred *objp);
-bool_t xdr_getcredres(XDR *xdrs, getcredres *objp);
-bool_t xdr_key_netstarg(XDR *xdrs, key_netstarg *objp);
-bool_t xdr_key_netstres(XDR *xdrs, key_netstres *objp);
-
-/* mt_misc.c */
-#ifdef rpc_createerr
-#undef rpc_createerr
-#endif
-struct rpc_createerr *__rpc_createerr(void);
-
-/* netname.c */
-int getnetname(char *name);
-int __getnetnamebyuid(char *name, uid_t uid);
-int user2netname(char *netname, const uid_t uid, const char *domain);
-int host2netname(char *netname, const char *host, const char *domain);
-
-/* netnamer.c */
-int netname2user(const char *netname, uid_t *uidp, gid_t *gidp,
- int *gidlenp, gid_t *gidlist);
-int netname2host(const char *netname, char *hostname, int hostlen);
-
-/* openchild.c */
-
-/* pmap_clnt.c */
-int pmap_set(rpcprog_t program, rpcvers_t version, rpcprot_t protocol, ushort_t port);
-bool_t pmap_unset(rpcprog_t program, rpcvers_t version);
-ushort_t pmap_getport(struct sockaddr_in *address, rpcprog_t program,
- rpcvers_t version, rpcprot_t protocol);
-struct pmaplist *pmap_getmaps(struct sockaddr_in *address);
-enum clnt_stat pmap_rmtcall(struct sockaddr_in *addr, rpcprog_t prog,
- rpcvers_t vers, rpcproc_t proc, xdrproc_t xdrargs,
- caddr_t argsp, xdrproc_t xdrres, caddr_t resp,
- struct timeval tout, rpcport_t *port_ptr);
-
-/* pmap_prot.c */
-bool_t xdr_pmap(XDR *xdrs, struct pmap *objp);
-bool_t xdr_pmaplist_ptr(XDR *xdrs, pmaplist_ptr *rp);
-bool_t xdr_pmaplist(XDR *xdrs, PMAPLIST **rp);
-bool_t xdr_rmtcallargs(XDR *xdrs, struct p_rmtcallargs *cap);
-bool_t xdr_rmtcallres(XDR *xdrs, struct p_rmtcallres *crp);
-
-/* rpc_callmsg.c */
-bool_t xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg);
-
-/* rpc_comdata.c */
-
-/* rpc_generic.c */
-int __rpc_dtbsize(void);
-uint_t __rpc_get_t_size(t_scalar_t size, t_scalar_t bufsize);
-uint_t __rpc_get_a_size(t_scalar_t size);
-struct netconfig *__rpc_getconfip(char *nettype);
-void *__rpc_setconf(char *nettype);
-struct netconfig *__rpc_getconf(void *vhandle);
-void __rpc_endconf(void *vhandle);
-struct netconfig *__rpcfd_to_nconf(int fd, int servtype);
-int __rpc_matchserv(int servtype, unsigned int nc_semantics);
-
-/* rpc_prot.c */
-bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap);
-bool_t xdr_des_block(XDR *xdrs, des_block *blkp);
-bool_t xdr_accepted_reply(XDR *xdrs, struct accepted_reply *ar);
-bool_t xdr_rejected_reply(XDR *xdrs, struct rejected_reply *rr);
-bool_t xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg);
-bool_t xdr_callhdr(XDR *xdrs, struct rpc_msg *cmsg);
-void __seterr_reply(struct rpc_msg *msg, struct rpc_err *error);
-
-/* rpc_sel2poll.c */
-int __rpc_select_to_poll(int fdmax, fd_set *fdset, struct pollfd *p0);
-int __rpc_timeval_to_msec(struct timeval *t);
-
-/* rpc_soc.c */
-CLIENT *clntudp_bufcreate(struct sockaddr_in *raddr, rpcprog_t prog,
- rpcvers_t vers, struct timeval wait, int *sockp,
- uint_t sendsz, uint_t recvsz);
-CLIENT *clntudp_create(struct sockaddr_in *raddr, rpcprog_t program,
- rpcvers_t version, struct timeval wait, int *sockp);
-CLIENT *clnttcp_create(struct sockaddr_in *raddr, rpcprog_t prog,
- rpcvers_t vers, int *sockp, uint_t sendsz,
- uint_t recvsz);
-CLIENT *clntraw_create(rpcprog_t prog, rpcvers_t vers);
-SVCXPRT *svctcp_create(int fd, uint_t sendsize, uint_t recvsize);
-SVCXPRT *svcudp_bufcreate(int fd, uint_t sendsize, uint_t recvsize);
-SVCXPRT *svcfd_create(int fd, uint_t sendsize, uint_t recvsize);
-SVCXPRT *svcudp_create(int fd);
-SVCXPRT *svcraw_create(void);
-int __rpc_bindresvport(int fd, struct sockaddr_in *sin, int *portp, int qlen);
-void get_myaddress(struct sockaddr_in *addr);
-ushort_t getrpcport(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcprot_t proto);
-int callrpc(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum,
- xdrproc_t inproc, char *in, xdrproc_t outproc, char *out);
-int registerrpc(rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum,
- char *(*progname)(), xdrproc_t inproc, xdrproc_t outproc);
-enum clnt_stat clnt_broadcast(rpcprog_t prog, rpcvers_t vers, rpcproc_t proc,
- xdrproc_t xargs, caddr_t argsp, xdrproc_t xresults,
- caddr_t resultsp, resultproc_t eachresult);
-AUTH *authdes_create(char *servername, uint_t window,
- struct sockaddr_in *syncaddr, des_block *ckey);
-
-/* rpc_td.c */
-
-/* rpcb_clnt.c */
-bool_t __rpc_control(int request, void *info);
-bool_t rpcb_set(rpcprog_t program, rpcvers_t version,
- const struct netconfig *nconf, const struct netbuf *address);
-bool_t rpcb_unset(rpcprog_t program, rpcvers_t version,
- const struct netconfig *nconf);
-int rpcb_getaddr(rpcprog_t program, rpcvers_t version,
- const struct netconfig *nconf, struct netbuf *address,
- const char *host);
-rpcblist *rpcb_getmaps(const struct netconfig *nconf, const char *host);
-enum clnt_stat rpcb_rmtcall(const struct netconfig *nconf, const char *host,
- rpcprog_t prog, rpcvers_t vers, rpcproc_t proc,
- xdrproc_t xdrargs, caddr_t argsp, xdrproc_t xdrres,
- caddr_t resp, struct timeval tout,
- struct netbuf *addr_ptr);
-bool_t rpcb_gettime(const char *host, time_t *timep);
-char *rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr);
-struct netbuf *rpcb_uaddr2taddr(struct netconfig *nconf, char *uaddr);
-
-/* rpcb_prot.c */
-bool_t xdr_rpcb(XDR *xdrs, RPCB *objp);
-bool_t xdr_rpcblist_ptr(XDR *xdrs, rpcblist_ptr *rp);
-bool_t xdr_rpcblist(XDR *xdrs, RPCBLIST **rp);
-bool_t xdr_rpcb_entry(XDR *xdrs, rpcb_entry *objp);
-bool_t xdr_rpcb_entry_list_ptr(XDR *xdrs, rpcb_entry_list_ptr *rp);
-bool_t xdr_rpcb_rmtcallargs(XDR *xdrs, struct r_rpcb_rmtcallargs *objp);
-bool_t xdr_rpcb_rmtcallres(XDR *xdrs, struct r_rpcb_rmtcallres *objp);
-bool_t xdr_netbuf(XDR *xdrs, struct netbuf *objp);
-
-/* rpcb_st_xdr.c */
-bool_t xdr_rpcbs_addrlist(XDR *xdrs, rpcbs_addrlist *objp);
-bool_t xdr_rpcbs_addrlist(XDR *xdrs, rpcbs_addrlist *objp);
-
-bool_t xdr_rpcbs_rmtcalllist(XDR *xdrs, rpcbs_rmtcalllist *objp);
-bool_t xdr_rpcbs_proc(XDR *xdrs, rpcbs_proc objp);
-bool_t xdr_rpcbs_addrlist_ptr(XDR *xdrs, rpcbs_addrlist_ptr *objp);
-bool_t xdr_rpcbs_rmtcalllist_ptr(XDR *xdrs, rpcbs_rmtcalllist_ptr *objp);
-bool_t xdr_rpcb_stat(XDR *xdrs, rpcb_stat *objp);
-bool_t xdr_rpcb_stat_byvers(XDR *xdrs, rpcb_stat_byvers objp);
-
-/* rpcdname.c */
-int __rpc_get_default_domain(char **domain);
-
-/* rpcsec_gss_if.c */
-AUTH *rpc_gss_seccreate(CLIENT *clnt, char *principal, char *mechanism,
- rpc_gss_service_t service_type, char *qop,
- rpc_gss_options_req_t *options_req,
- rpc_gss_options_ret_t *options_ret);
-bool_t rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, char *qop);
-bool_t rpc_gss_get_principal_name(rpc_gss_principal_t *principal, char
- *mechanism, char *user_name, char *node, char *secdomain);
-char **rpc_gss_get_mechanisms(void);
-char **rpc_gss_get_mech_info(char *mechanism, rpc_gss_service_t *service);
-bool_t rpc_gss_get_versions(u_int *vers_hi, u_int *vers_lo);
-bool_t rpc_gss_is_installed(char *mechanism);
-bool_t rpc_gss_set_svc_name(char *principal, char *mechanism, uint_t req_time,
- uint_t program, uint_t version);
-bool_t rpc_gss_set_callback(rpc_gss_callback_t *cb);
-bool_t rpc_gss_getcred(struct svc_req *req, rpc_gss_rawcred_t **rcred,
- rpc_gss_ucred_t **ucred, void **cookie);
-bool_t rpc_gss_mech_to_oid(char *mech, rpc_gss_OID *oid);
-bool_t rpc_gss_qop_to_num(char *qop, char *mech, u_int *num);
-int rpc_gss_max_data_length(AUTH *rpcgss_handle, int max_tp_unit_len);
-int rpc_gss_svc_max_data_length(struct svc_req *req, int max_tp_unit_len);
-void rpc_gss_get_error(rpc_gss_error_t *error);
-
-/* rtime_tli.c */
-int rtime_tli(char *host, struct timeval *timep, struct timeval *timeout);
-
-/* svc.c */
-void xprt_register(const SVCXPRT *xprt);
-void xprt_unregister(const SVCXPRT *xprt);
-bool_t svc_reg(const SVCXPRT *xprt, rpcprog_t prog, rpcvers_t vers,
- void (*dispatch)(), const struct netconfig *nconf);
-void svc_unreg(rpcprog_t prog, rpcvers_t vers);
-bool_t svc_register(SVCXPRT *xprt, rpcprog_t prog, rpcvers_t vers,
- void (*dispatch)(), int protocol);
-void svc_unregister(rpcprog_t prog, rpcvers_t vers);
-bool_t svc_sendreply(const SVCXPRT *xprt, xdrproc_t xdr_results,
- caddr_t xdr_location);
-void svcerr_noproc(const SVCXPRT *xprt);
-void svcerr_decode(const SVCXPRT *xprt);
-void svcerr_systemerr(const SVCXPRT *xprt);
-void svcerr_auth(const SVCXPRT *xprt, enum auth_stat why);
-void svcerr_weakauth(const SVCXPRT *xprt);
-void svcerr_noprog(const SVCXPRT *xprt);
-void svcerr_progvers(const SVCXPRT *xprt, rpcvers_t low_vers,
- rpcvers_t high_vers);
-void svc_getreq(int rdfds);
-void svc_getreqset(fd_set *readfds);
-void svc_getreq_poll(struct pollfd *pfdp, int pollretval);
-void svc_getreq_common(int fd);
-SVCXPRT *svc_xprt_alloc(void);
-void svc_xprt_free(SVCXPRT *xprt);
-bool_t svc_get_local_cred(SVCXPRT *xprt, svc_local_cred_t *lcred);
-SVCAUTH *__svc_get_svcauth(SVCXPRT *);
-void *__svc_set_proc_cleanup_cb(void *cb);
-
-/* svc_auth.c */
-enum auth_stat __authenticate(struct svc_req *rqst, struct rpc_msg *msg);
-int svc_auth_reg(int cred_flavor, enum auth_stat (*handler)());
-
-/* svc_auth_sys.c */
-
-/* svc_dg.c */
-SVCXPRT *svc_dg_create(int fd, uint_t sendsize, uint_t recvsize);
-int svc_dg_enablecache(SVCXPRT *xprt, uint_t size);
-
-/* svc_door.c */
-SVCXPRT *svc_door_create(void (*dispatch)(), rpcprog_t prognum,
- rpcvers_t versnum, uint_t sendsize);
-
-/* svc_generic.c */
-int svc_create(void (*dispatch)(), rpcprog_t prognum, rpcvers_t versnum,
- const char *nettype);
-SVCXPRT *svc_tp_create(void (*dispatch)(), rpcprog_t prognum, rpcvers_t versnum,
- const struct netconfig *nconf);
-SVCXPRT *svc_tli_create(int fd, const struct netconfig *nconf,
- const struct t_bind *bindaddr, uint_t sendsz,
- uint_t recvsz);
-
-/* svc_raw.c */
-SVCXPRT *svc_raw_create(void);
-
-/* svc_run.c */
-void svc_run(void);
-void svc_exit(void);
-void svc_done(SVCXPRT *xprt);
-bool_t rpc_control(int op, void *info);
-
-/* svc_simple.c */
-int rpc_reg(rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum,
- char *(*progname)(), xdrproc_t inproc, xdrproc_t outproc,
- const char *nettype);
-
-/* svc_vc.c */
-SVCXPRT *svc_vc_create(int fd, uint_t sendsize, uint_t recvsize);
-SVCXPRT *svc_fd_create(int fd, uint_t sendsize, uint_t recvsize);
-bool_t __svc_vc_dupcache_init(SVCXPRT *xprt, void *condition, int basis);
-int __svc_vc_dup(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz);
-int __svc_vc_dupdone(struct svc_req *req, caddr_t resp_buf, uint_t resp_bufsz,
- int status);
-
-/* svcauth_des.c */
-int authdes_getucred(const struct authdes_cred *adc, uid_t *uid, gid_t *gid,
- short *grouplen, gid_t *groups);
-enum auth_stat __svcauth_des(struct svc_req *rqst, struct rpc_msg *msg);
-
-/* ti_opts.c */
-int __rpc_negotiate_uid(int fd);
-int __rpc_get_local_uid(SVCXPRT *trans, uid_t *uid_out);
-
-/* xdr.c */
-void xdr_free(xdrproc_t proc, char *objp);
-bool_t xdr_void(void);
-bool_t xdr_int(XDR *xdrs, int *ip);
-bool_t xdr_u_int(XDR *xdrs, uint_t *up);
-bool_t xdr_long(XDR *xdrs, long *lp);
-bool_t xdr_u_long(XDR *xdrs, ulong_t *ulp);
-bool_t xdr_short(XDR *xdrs, short *sp);
-bool_t xdr_u_short(XDR *xdrs, ushort_t *sp);
-bool_t xdr_char(XDR *xdrs, char *cp);
-bool_t xdr_u_char(XDR *xdrs, uchar_t *cp);
-bool_t xdr_bool(XDR *xdrs, bool_t *bp);
-bool_t xdr_enum(XDR *xdrs, enum_t *ep);
-bool_t xdr_opaque(XDR *xdrs, caddr_t cp, uint_t cnt);
-bool_t xdr_bytes(XDR *xdrs, char **cpp, uint_t *sizep, uint_t maxsize);
-bool_t xdr_netobj(XDR *xdrs, struct netobj *np);
-bool_t xdr_union(XDR *xdrs, enum_t *dscmp, char *unp,
- const struct xdr_discrim *choices, xdrproc_t dfault);
-bool_t xdr_string(XDR *xdrs, char **cpp, uint_t maxsize);
-bool_t xdr_hyper(XDR *xdrs, longlong_t *hp);
-bool_t xdr_u_hyper(XDR *xdrs, u_longlong_t *hp);
-bool_t xdr_longlong_t(XDR *xdrs, longlong_t *hp);
-bool_t xdr_u_longlong_t(XDR *xdrs, u_longlong_t *hp);
-bool_t xdr_ulonglong_t(XDR *xdrs, u_longlong_t *hp);
-bool_t xdr_wrapstring(XDR *xdrs, char **cpp);
-
-/* xdr_array.c */
-bool_t xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, uint_t maxsize,
- uint_t elsize, xdrproc_t elproc);
-bool_t xdr_vector(XDR *xdrs, char *basep, uint_t nelem, uint_t elemsize,
- xdrproc_t xdr_elem);
-
-/* xdr_float.c */
-bool_t xdr_float(XDR *xdrs, float *fp);
-bool_t xdr_double(XDR *xdrs, double *dp);
-bool_t xdr_quadruple(XDR *xdrs, long double *fp);
-
-/* xdr_mem.c */
-void xdrmem_create(XDR *xdrs, caddr_t addr, uint_t size, enum xdr_op op);
-
-/* xdr_rec.c */
-void xdrrec_create(XDR *xdrs, uint_t sendsize, uint_t recvsize,
- caddr_t tcp_handle, int (*readit)(), int (*writeit)());
-
-uint_t xdrrec_readbytes(XDR *xdrs, caddr_t addr, uint_t l);
-bool_t xdrrec_skiprecord(XDR *xdrs);
-bool_t xdrrec_eof(XDR *xdrs);
-bool_t xdrrec_endofrecord(XDR *xdrs, bool_t sendnow);
-
-/* xdr_refer.c */
-bool_t xdr_reference(XDR *xdrs, caddr_t *pp, uint_t size, xdrproc_t proc);
-bool_t xdr_pointer(XDR *xdrs, char **objpp, uint_t obj_size, xdrproc_t xdr_obj);
-
-/* xdr_sizeof.c */
-unsigned int xdr_sizeof(xdrproc_t func, void *data);
-
-/* xdr_stdio.c */
-void xdrstdio_create(XDR *xdrs, FILE *file, enum xdr_op op);
-
-/* svid_funcs.c */
-#undef auth_destroy
-#undef clnt_call
-#undef clnt_control
-#undef clnt_destroy
-#undef clnt_freeres
-#undef clnt_geterr
-#undef svc_destroy
-#undef svc_freeargs
-#undef svc_getargs
-#undef svc_getrpccaller
-#undef xdr_destroy
-#undef xdr_getpos
-#undef xdr_inline
-#undef xdr_setpos
-void auth_destroy(AUTH *auth);
-enum clnt_stat clnt_call(CLIENT *cl, rpcproc_t proc, xdrproc_t xargs,
- caddr_t argsp, xdrproc_t xres, caddr_t resp,
- struct timeval timeout);
-bool_t clnt_control(CLIENT *cl, uint_t rq, void *in);
-void clnt_destroy(CLIENT *cl);
-bool_t clnt_freeres(CLIENT *cl, xdrproc_t xres, caddr_t resp);
-void clnt_geterr(CLIENT *cl, struct rpc_err *errp);
-bool_t svc_control(SVCXPRT *xprt, const uint_t rq, void *in);
-bool_t svc_freeargs(SVCXPRT *xprt, xdrproc_t xargs, char *argsp);
-bool_t svc_getargs(SVCXPRT *xprt, xdrproc_t xargs, char *argsp);
-struct netbuf *svc_getrpccaller(SVCXPRT *xprt);
-long *xdr_inline(XDR *xdrs, int len);
-void xdr_destroy(XDR *xdrs);
-uint_t xdr_getpos(XDR *xdrs);
-bool_t xdr_setpos(XDR *xdrs, uint_t pos);
-
-/*
- * usr/src/lib/libnsl/saf routines
- */
-
-/* checkver.c */
-int check_version(int ver, char *fname);
-
-/* doconfig.c */
-int doconfig(int fd, char *script, long rflag);
-
-/*
- * usr/src/lib/libnsl/yp routines
- */
-
-/* dbm.c */
-int dbminit(char *file);
-int dbmclose(void);
-datum fetch(datum key);
-int delete(datum key);
-int store(datum key, datum dat);
-datum firstkey(void);
-datum nextkey(datum key);
-datum firsthash(long hash);
-datum makdatum(char *buf, int n);
-long hashinc(long hash);
-long calchash(datum item);
-
-/* yp_all.c */
-int yp_all(char *domain, char *map, struct ypall_callback *callback);
-int __yp_all_rsvdport(char *domain, char *map, struct ypall_callback *callback);
-
-/* yp_b_clnt.c */
-enum ypbind_resptype {
- YPBIND_SUCC_VAL = 1,
- YPBIND_FAIL_VAL = 2
-};
-typedef enum ypbind_resptype ypbind_resptype;
-struct ypbind_resp {
- ypbind_resptype ypbind_status;
- union {
- uint_t ypbind_error;
- struct ypbind_binding *ypbind_bindinfo;
- } ypbind_resp_u;
-};
-typedef struct ypbind_resp ypbind_resp;
-struct ypbind_domain {
- char *ypbind_domainname;
- rpcvers_t ypbind_vers;
-};
-typedef struct ypbind_domain ypbind_domain;
-struct ypbind_setdom {
- char *ypsetdom_domain;
- struct ypbind_binding *ypsetdom_bindinfo;
-};
-typedef struct ypbind_setdom ypbind_setdom;
-ypbind_resp *ypbindproc_domain_3(ypbind_domain *argp, CLIENT *clnt);
-
-/* yp_b_xdr.c */
-bool_t xdr_ypbind_domain(XDR *xdrs, ypbind_domain *objp);
-bool_t xdr_ypbind_resp(XDR *xdrs, ypbind_resp *objp);
-bool_t xdr_ypbind_setdom(XDR *xdrs, ypbind_setdom *objp);
-bool_t xdr_ypbind_resptype(XDR *xdrs, ypbind_resptype *objp);
-
-/* yp_bind.c */
-struct dom_binding {
- struct dom_binding *dom_pnext;
- char *dom_domain;
- struct ypbind_binding *dom_binding;
- CLIENT *dom_client;
- int cache_bad;
- int fd;
- dev_t rdev;
- int ref_count;
- int need_free;
- mutex_t server_name_lock;
-};
-int __yp_dobind(char *domain, struct dom_binding **binding);
-int __yp_rel_binding(struct dom_binding *binding);
-void yp_unbind(char *domain);
-int __yp_add_binding(char *domain, char *addr);
-int yp_bind(char *domain);
-int yp_get_default_domain(char **domain);
-int usingypmap(char **ddn, char *map);
-CLIENT *__clnt_create_loopback(rpcprog_t prog, rpcvers_t vers, int err);
-
-/* yp_enum.c */
-int yp_first(char *domain, char *map, char **key, int *keylen,
- char **val, int *vallen);
-int yp_next(char *domain, char *map, char *inkey, int inkeylen,
- char **outkey, int *outkeylen, char **val, int *vallen);
-
-/* yp_master.c */
-int yp_master(char *domain, char *map, char **master);
-int __yp_master_rsvdport(char *domain, char *map, char **master);
-
-/* yp_match.c */
-int yp_match(char *domain, char *map, char *key, int keylen,
- char **val, int *vallen);
-int yp_match_rsvdport(char *domain, char *map, char *key, int keylen,
- char **val, int *vallen);
-void __empty_yp_cache(void);
-
-/* yp_order.c */
-int yp_order(char *domain, char *map, unsigned long *order);
-
-/* yp_rsvd.c */
-CLIENT *__yp_clnt_create_rsvdport(const char *hostname,
- rpcprog_t prog, rpcvers_t vers,
- const char *nettype,
- const uint_t sendsz, const uint_t recvsz);
-
-/* yp_update.c */
-int yp_update(char *domain, char *map, unsigned op,
- char *key, int keylen, char *data, int datalen);
-
-/* yp_xdr.c */
-bool xdr_datum(XDR * xdrs, datum *pdatum);
-bool xdr_ypdomain_wrap_string(XDR *xdrs, char **ppstring);
-bool xdr_ypmap_wrap_string(XDR *xdrs, char **ppstring);
-bool xdr_ypreq_key(XDR *xdrs, struct ypreq_key *ps);
-bool xdr_ypreq_nokey(XDR *xdrs, struct ypreq_nokey *ps);
-bool xdr_ypresp_val(XDR *xdrs, struct ypresp_val *ps);
-bool xdr_ypresp_key_val(XDR *xdrs, struct ypresp_key_val *ps);
-bool xdr_ypowner_wrap_string(XDR *xdrs, char **ppstring);
-bool xdr_ypmap_parms(XDR *xdrs, struct ypmap_parms *ps);
-bool xdr_ypresp_master(XDR *xdrs, struct ypresp_master *ps);
-bool xdr_ypresp_order(XDR * xdrs, struct ypresp_order *ps);
-bool xdr_ypresp_maplist(XDR *xdrs, struct ypresp_maplist *ps);
-bool xdr_yppushresp_xfr(XDR *xdrs, struct yppushresp_xfr *ps);
-bool xdr_ypreq_newxfr(XDR *xdrs, struct ypreq_newxfr *ps);
-bool xdr_ypreq_xfr(XDR *xdrs, struct ypreq_xfr *ps);
-bool xdr_ypall(XDR *xdrs, struct ypall_callback *callback);
-
-/* yperr_string.c */
-char *yperr_string(int code);
-
-/* yppasswd_xdr.c */
-bool_t xdr_yppasswd(XDR *xdrsp, struct yppasswd *pp);
-
-/* ypprot_err.c */
-int ypprot_err(int yp_protocol_error);
-
-/* ypupd.c */
-bool_t xdr_yp_buf(XDR *xdrs, yp_buf *objp);
-bool_t xdr_ypupdate_args(XDR *xdrs, ypupdate_args *objp);
-bool_t xdr_ypdelete_args(XDR *xdrs, ypdelete_args *objp);
-
-/* nis_sec_mechs.c */
-char *__nis_keyalg2authtype(keylen_t keylen, algtype_t algtype,
- char *authtype, size_t authtype_len);
-
-/* usr/src/lib/libnsl/nss/parse.c */
-char *_strtok_escape(char *string, char *sepset, char **lasts);
diff --git a/usr/src/lib/libnvpair/llib-lnvpair b/usr/src/lib/libnvpair/llib-lnvpair
deleted file mode 100644
index ffc733ad85..0000000000
--- a/usr/src/lib/libnvpair/llib-lnvpair
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libnvpair.h>
diff --git a/usr/src/lib/libnwam/common/llib-lnwam b/usr/src/lib/libnwam/common/llib-lnwam
deleted file mode 100644
index 96cc76df3e..0000000000
--- a/usr/src/lib/libnwam/common/llib-lnwam
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libnwam.h>
-#include <libnwam_priv.h>
diff --git a/usr/src/lib/libofmt/common/llib-lofmt b/usr/src/lib/libofmt/common/llib-lofmt
deleted file mode 100644
index 3abbb9f946..0000000000
--- a/usr/src/lib/libofmt/common/llib-lofmt
+++ /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 2017 Nexenta Systems, Inc.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <ofmt.h>
diff --git a/usr/src/lib/libpam/llib-lpam b/usr/src/lib/libpam/llib-lpam
deleted file mode 100644
index 31c734b9c5..0000000000
--- a/usr/src/lib/libpam/llib-lpam
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <pam_appl.h>
-#include <pam_modules.h>
-#include <pam_impl.h>
diff --git a/usr/src/lib/libpcidb/common/llib-lpcidb b/usr/src/lib/libpcidb/common/llib-lpcidb
deleted file mode 100644
index 5a3ad37d62..0000000000
--- a/usr/src/lib/libpcidb/common/llib-lpcidb
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2012 Joyent, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <pcidb.h>
diff --git a/usr/src/lib/libpcp/Makefile.com b/usr/src/lib/libpcp/Makefile.com
index 21f26dd465..a90f67ec90 100644
--- a/usr/src/lib/libpcp/Makefile.com
+++ b/usr/src/lib/libpcp/Makefile.com
@@ -22,6 +22,8 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
+#
LIBRARY= libpcp.a
VERS= .1
@@ -42,8 +44,6 @@ LINKED_LIBPCP_DIR = \
$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libpcp.so)
LINKED_LIBPCP1_DIR = \
$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libpcp.so.1)
-LINKED_LLIBLPCP_DIR = \
- $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/llib-lpcp.ln)
LIBS = $(DYNLIB) $(LINTLIB)
CFLAGS += $(CCVERBOSE)
@@ -52,7 +52,6 @@ LDLIBS += -lc -lumem -ldevinfo
PLATLIBS = $(USR_PLAT_DIR)/$(PLATFORM)/lib
INS.slink6= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libpcp.so.1 $@
INS.slink7= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libpcp.so $@
-INS.slink8= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/llib-lpcp.ln $@
.KEEP_STATE:
diff --git a/usr/src/lib/libpcp/sparc/Makefile b/usr/src/lib/libpcp/sparc/Makefile
index 6d4ccea2b6..80a10b172a 100644
--- a/usr/src/lib/libpcp/sparc/Makefile
+++ b/usr/src/lib/libpcp/sparc/Makefile
@@ -21,7 +21,8 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# lib/libpcp/sparc/Makefile
+# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
+#
UTSBASE= ../../../uts
@@ -72,10 +73,6 @@ $(LINKED_LIBPCP_DIR): $(USR_PLAT_DIR)
$(LINKED_LIBPCP1_DIR): $(USR_PLAT_DIR)
-$(INS.slink6)
-$(LINKED_LLIBLPCP_DIR): $(USR_PLAT_DIR)
- -$(INS.slink8)
-
install: all $(USR_PSM_LIBS) $(PLATLIBS)/libpcp.so \
$(LINKED_DIRS) $(LINKED_LIB_DIRS) \
- $(LINKED_LIBPCP_DIR) $(LINKED_LIBPCP1_DIR) \
- $(LINKED_LLIBLPCP_DIR)
+ $(LINKED_LIBPCP_DIR) $(LINKED_LIBPCP1_DIR)
diff --git a/usr/src/lib/libpctx/common/llib-lpctx b/usr/src/lib/libpctx/common/llib-lpctx
deleted file mode 100644
index 3595176e7d..0000000000
--- a/usr/src/lib/libpctx/common/llib-lpctx
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include "libpctx.h"
diff --git a/usr/src/lib/libpicl/llib-lpicl b/usr/src/lib/libpicl/llib-lpicl
deleted file mode 100644
index e9b9c15c7f..0000000000
--- a/usr/src/lib/libpicl/llib-lpicl
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-/*
- * Copyright (c) 1999-2000 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <picl.h>
-
-int picl_initialize(void);
-int picl_shutdown(void);
-int picl_get_root(picl_nodehdl_t *nodehandle);
-int picl_get_propval(picl_prophdl_t proph, void *valbuf, size_t sz);
-int picl_get_propval_by_name(picl_nodehdl_t nodeh, const char *propname,
- void *valbuf, size_t sz);
-int picl_set_propval(picl_prophdl_t proph, void *valbuf, size_t sz);
-int picl_set_propval_by_name(picl_nodehdl_t nodeh, const char *propname,
- void *valbuf, size_t sz);
-int picl_get_propinfo(picl_prophdl_t proph, picl_propinfo_t *pi);
-int picl_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph);
-int picl_get_next_prop(picl_prophdl_t proph, picl_prophdl_t *nexth);
-int picl_get_prop_by_name(picl_nodehdl_t nodeh, const char *nm,
- picl_prophdl_t *ph);
-int picl_get_next_by_row(picl_prophdl_t thish, picl_prophdl_t *proph);
-int picl_get_next_by_col(picl_prophdl_t thish, picl_prophdl_t *proph);
-int picl_wait(unsigned int secs);
-char *picl_strerror(int err);
-int picl_walk_tree_by_class(picl_nodehdl_t rooth,
- const char *classname, void *c_args,
- int (*callback_fn)(picl_nodehdl_t hdl, void *args));
-int picl_get_propinfo_by_name(picl_nodehdl_t nodeh, const char *pname,
- picl_propinfo_t *pinfo, picl_prophdl_t *proph);
diff --git a/usr/src/lib/libpicltree/llib-lpicltree b/usr/src/lib/libpicltree/llib-lpicltree
deleted file mode 100644
index 88fcc07d1a..0000000000
--- a/usr/src/lib/libpicltree/llib-lpicltree
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-/*
- * Copyright (c) 1999-2000 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <synch.h>
-#include <picl.h>
-#include <picltree.h>
-#include "ptree_impl.h"
-
-int ptree_get_root(picl_nodehdl_t *nodeh);
-int ptree_create_node(const char *name, const char *clname,
- picl_nodehdl_t *nodeh);
-int ptree_destroy_node(picl_nodehdl_t nodeh);
-int ptree_add_node(picl_nodehdl_t parh, picl_nodehdl_t chdh);
-int ptree_delete_node(picl_nodehdl_t nodeh);
-
-int ptree_create_prop(const ptree_propinfo_t *pi, const void *vbuf,
- picl_prophdl_t *proph);
-int ptree_destroy_prop(picl_prophdl_t proph);
-int ptree_delete_prop(picl_prophdl_t proph);
-int ptree_add_prop(picl_nodehdl_t nodeh, picl_prophdl_t proph);
-int ptree_create_table(picl_prophdl_t *tbl_hdl);
-int ptree_add_row_to_table(picl_prophdl_t tbl, int nprops,
- const picl_prophdl_t *props);
-int ptree_update_propval_by_name(picl_nodehdl_t nodeh, const char *name,
- const void *vbuf, unsigned int sz);
-int ptree_update_propval(picl_prophdl_t proph, const void *buf,
- unsigned int sz);
-int ptree_get_propval(picl_prophdl_t proph, void *buf, unsigned int sz);
-int ptree_get_propval_by_name(picl_nodehdl_t nodeh, const char *name,
- void *buf, unsigned int sz);
-int ptree_get_propinfo(picl_prophdl_t proph, ptree_propinfo_t *pi);
-int ptree_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph);
-int ptree_get_next_prop(picl_prophdl_t thish, picl_prophdl_t *proph);
-int ptree_get_prop_by_name(picl_nodehdl_t nodeh, const char *name,
- picl_prophdl_t *proph);
-int ptree_get_next_by_row(picl_prophdl_t proph, picl_prophdl_t *rowh);
-int ptree_get_next_by_col(picl_prophdl_t proph, picl_prophdl_t *colh);
-
-int ptree_get_node_by_path(const char *prl, picl_nodehdl_t *nodeh);
-int picld_plugin_register(picld_plugin_reg_t *infop);
-int ptree_init_propinfo(ptree_propinfo_t *infop, int version, int ptype,
- int pmode, size_t psize, char *pname,
- int (*readfn)(ptree_rarg_t *, void *),
- int (*writefn)(ptree_warg_t *, const void *));
-int ptree_create_and_add_prop(picl_nodehdl_t nodeh,
- ptree_propinfo_t *infop, void *vbuf,
- picl_prophdl_t *proph);
-int ptree_create_and_add_node(picl_nodehdl_t rooth, const char *name,
- const char *classname, picl_nodehdl_t *nodeh);
-
-int ptree_walk_tree_by_class(picl_nodehdl_t rooth, const char *classname,
- void *c_args, int (*callback_fn)(picl_nodehdl_t hdl, void *args));
-
-int ptree_find_node(picl_nodehdl_t rooth, char *pname,
- picl_prop_type_t ptype, void *pval, size_t valsize,
- picl_nodehdl_t *retnodeh);
-int ptree_post_event(const char *ename, const void *earg,
- size_t size, void (*completion_handler)(char *ename,
- void *earg, size_t size));
-int ptree_register_handler(const char *ename,
- void (*evt_handler)(const char *ename, const void *earg,
- size_t size, void *cookie), void *cookie);
-void ptree_unregister_handler(const char *ename,
- void (*evt_handler)(const char *ename, const void *earg,
- size_t size, void *cookie), void *cookie);
diff --git a/usr/src/lib/libpkg/common/llib-lpkg b/usr/src/lib/libpkg/common/llib-lpkg
deleted file mode 100644
index b2fdb70d75..0000000000
--- a/usr/src/lib/libpkg/common/llib-lpkg
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright (c) 2017 Peter Tribble.
- */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-#include <cfext.h>
-#include <pkglib.h>
-#include <pkglocale.h>
diff --git a/usr/src/lib/libpool/common/llib-lpool b/usr/src/lib/libpool/common/llib-lpool
deleted file mode 100644
index 461b21a6f9..0000000000
--- a/usr/src/lib/libpool/common/llib-lpool
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-#include <pool.h>
-
diff --git a/usr/src/lib/libpp/common/llib-lpp b/usr/src/lib/libpp/common/llib-lpp
deleted file mode 100644
index 5d49fc1b83..0000000000
--- a/usr/src/lib/libpp/common/llib-lpp
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * lib/libpp/common/llib-lpp
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include "pp.h"
diff --git a/usr/src/lib/libpri/common/llib-lpri b/usr/src/lib/libpri/common/llib-lpri
deleted file mode 100644
index 49367dc4da..0000000000
--- a/usr/src/lib/libpri/common/llib-lpri
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <sys/pri.h>
diff --git a/usr/src/lib/libproc/common/llib-lproc b/usr/src/lib/libproc/common/llib-lproc
deleted file mode 100644
index a5fb8a19a2..0000000000
--- a/usr/src/lib/libproc/common/llib-lproc
+++ /dev/null
@@ -1,392 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-/*
- * Copyright (c) 2013 by Delphix. All rights reserved.
- */
-#include "libproc.h"
-
-/*
- * usr/src/lib/libproc
- */
-
-/* Pcontrol.c */
-int _libproc_debug;
-struct ps_prochandle *Pcreate(const char *file, char *const *argv,
- int *perr, char *path, size_t len);
-const char *Pcreate_error(int error);
-void Pcreate_callback(struct ps_prochandle *Pr);
-struct ps_prochandle *Pgrab(pid_t pid, int gflag, int *perr);
-const char *Pgrab_error(int error);
-void Pfree(struct ps_prochandle *Pr);
-int Pstate(struct ps_prochandle *Pr);
-int Pasfd(struct ps_prochandle *Pr);
-int Pctlfd(struct ps_prochandle *Pr);
-const psinfo_t *Ppsinfo(struct ps_prochandle *Pr);
-const pstatus_t *Pstatus(struct ps_prochandle *Pr);
-int Pcred(struct ps_prochandle *Pr, prcred_t *pcrp, int ngroups);
-int Ppriv(struct ps_prochandle *Pr, prpriv_t **pprivp);
-void Ppriv_free(struct ps_prochandle *Pr, prpriv_t *privp);
-void Psync(struct ps_prochandle *Pr);
-int Pcreate_agent(struct ps_prochandle *Pr);
-void Pdestroy_agent(struct ps_prochandle *Pr);
-int Preopen(struct ps_prochandle *Pr);
-void Prelease(struct ps_prochandle *Pr, int flags);
-int Pstopstatus(struct ps_prochandle *Pr, long cmd, uint_t msec);
-int Pwait(struct ps_prochandle *Pr, uint_t msec);
-int Pstop(struct ps_prochandle *Pr, uint_t msec);
-int Pdstop(struct ps_prochandle *Pr);
-int Pgetareg(struct ps_prochandle *Pr, int regno, prgreg_t *preg);
-int Pputareg(struct ps_prochandle *Pr, int regno, prgreg_t reg);
-int Psetrun(struct ps_prochandle *Pr, int sig, int flags);
-ssize_t Pread(struct ps_prochandle *Pr,
- void *buf, size_t nbyte, uintptr_t address);
-ssize_t Pread_string(struct ps_prochandle *Pr,
- char *buf, size_t nbyte, uintptr_t address);
-ssize_t Pwrite(struct ps_prochandle *Pr,
- const void *buf, size_t nbyte, uintptr_t address);
-int Pclearsig(struct ps_prochandle *Pr);
-int Pclearfault(struct ps_prochandle *Pr);
-int Psetbkpt(struct ps_prochandle *Pr, uintptr_t address, ulong_t *saved);
-int Pdelbkpt(struct ps_prochandle *Pr, uintptr_t address, ulong_t saved);
-int Pxecbkpt(struct ps_prochandle *Pr, ulong_t saved);
-int Psetwapt(struct ps_prochandle *Pr, const prwatch_t *wp);
-int Pdelwapt(struct ps_prochandle *Pr, const prwatch_t *wp);
-int Pxecwapt(struct ps_prochandle *Pr, const prwatch_t *wp);
-int Psetflags(struct ps_prochandle *Pr, long flags);
-int Punsetflags(struct ps_prochandle *Pr, long flags);
-int Psignal(struct ps_prochandle *Pr, int which, int stop);
-void Psetsignal(struct ps_prochandle *Pr, const sigset_t *set);
-int Pfault(struct ps_prochandle *Pr, int which, int stop);
-void Psetfault(struct ps_prochandle *Pr, const fltset_t *set);
-int Psysentry(struct ps_prochandle *Pr, int which, int stop);
-void Psetsysentry(struct ps_prochandle *Pr, const sysset_t *set);
-int Psysexit(struct ps_prochandle *Pr, int which, int stop);
-void Psetsysexit(struct ps_prochandle *Pr, const sysset_t *set);
-int Plwp_iter(struct ps_prochandle *Pr, proc_lwp_f *func, void *cd);
-int Psyscall(struct ps_prochandle *Pr, sysret_t *,
- int sysindex, uint_t nargs, argdes_t *argp);
-
-struct ps_lwphandle *Lgrab(struct ps_prochandle *P, lwpid_t lwpid, int *perr);
-const char *Lgrab_error(int error);
-struct ps_prochandle *Lprochandle(struct ps_lwphandle *Lwp);
-void Lfree(struct ps_lwphandle *Lwp);
-int Lctlfd(struct ps_lwphandle *Lwp);
-int Lwait(struct ps_lwphandle *Lwp, uint_t msec);
-int Lstop(struct ps_lwphandle *Lwp, uint_t msec);
-int Ldstop(struct ps_lwphandle *Lwp);
-int Lstate(struct ps_lwphandle *Lwp);
-const lwpsinfo_t *Lpsinfo(struct ps_lwphandle *Lwp);
-const lwpstatus_t *Lstatus(struct ps_lwphandle *Lwp);
-int Lgetareg(struct ps_lwphandle *Lwp, int regno, prgreg_t *preg);
-int Lputareg(struct ps_lwphandle *Lwp, int regno, prgreg_t reg);
-int Lsetrun(struct ps_lwphandle *Lwp, int sig, int flags);
-int Lclearsig(struct ps_lwphandle *Lwp);
-int Lclearfault(struct ps_lwphandle *Lwp);
-int Lxecbkpt(struct ps_lwphandle *Lwp, ulong_t saved);
-int Lxecwapt(struct ps_lwphandle *Lwp, const prwatch_t *wp);
-void Lsync(struct ps_lwphandle *Lwp);
-
-/* Plwpregs.c */
-int Plwp_getregs(struct ps_prochandle *Pr, lwpid_t i, prgregset_t gr);
-int Plwp_setregs(struct ps_prochandle *Pr, lwpid_t i, const prgregset_t gr);
-int Plwp_getfpregs(struct ps_prochandle *Pr, lwpid_t i, prfpregset_t *fp);
-int Plwp_setfpregs(struct ps_prochandle *Pr, lwpid_t i, const prfpregset_t *fp);
-#if defined(sparc) || defined(__sparc)
-int Plwp_getxregs(struct ps_prochandle *Pr, lwpid_t i, prxregset_t *xr);
-int Plwp_setxregs(struct ps_prochandle *Pr, lwpid_t i, const prxregset_t *xr);
-#if defined(__sparcv9)
-int Plwp_getasrs(struct ps_prochandle *Pr, lwpid_t i, asrset_t asrs);
-int Plwp_setasrs(struct ps_prochandle *Pr, lwpid_t i, const asrset_t asrs);
-#endif /* __sparcv9 */
-#endif /* __sparc */
-int Plwp_getpsinfo(struct ps_prochandle *Pr, lwpid_t i, lwpsinfo_t *lps);
-
-/* Pcore.c */
-struct ps_prochandle *Pfgrab_core(int fd, const char *aout, int *perr);
-struct ps_prochandle *Pgrab_core(const char *core, const char *aout,
- int gflag, int *perr);
-
-/* Pisprocdir.c */
-int Pisprocdir(struct ps_prochandle *Pr, const char *dir);
-
-/* Pservice.c */
-ps_err_e ps_pdmodel(struct ps_prochandle *Pr, int *modelp);
-ps_err_e ps_pread(struct ps_prochandle *Pr,
- psaddr_t addr, void *buf, size_t size);
-ps_err_e ps_pwrite(struct ps_prochandle *Pr,
- psaddr_t addr, const void *buf, size_t size);
-ps_err_e ps_pdread(struct ps_prochandle *Pr,
- psaddr_t addr, void *buf, size_t size);
-ps_err_e ps_pdwrite(struct ps_prochandle *Pr,
- psaddr_t addr, const void *buf, size_t size);
-ps_err_e ps_ptread(struct ps_prochandle *Pr,
- psaddr_t addr, void *buf, size_t size);
-ps_err_e ps_ptwrite(struct ps_prochandle *Pr,
- psaddr_t addr, const void *buf, size_t size);
-ps_err_e ps_pstop(struct ps_prochandle *Pr);
-ps_err_e ps_pcontinue(struct ps_prochandle *Pr);
-ps_err_e ps_lstop(struct ps_prochandle *Pr, lwpid_t lwpid);
-ps_err_e ps_lcontinue(struct ps_prochandle *Pr, lwpid_t lwpid);
-ps_err_e ps_lgetregs(struct ps_prochandle *Pr,
- lwpid_t lwpid, prgregset_t regs);
-ps_err_e ps_lsetregs(struct ps_prochandle *Pr,
- lwpid_t lwpid, const prgregset_t regs);
-ps_err_e ps_lgetfpregs(struct ps_prochandle *Pr,
- lwpid_t lwpid, prfpregset_t *regs);
-ps_err_e ps_lsetfpregs(struct ps_prochandle *Pr,
- lwpid_t lwpid, const prfpregset_t *regs);
-#if defined(sparc) || defined(__sparc)
-ps_err_e ps_lgetxregsize(struct ps_prochandle *Pr,
- lwpid_t lwpid, int *xrsize);
-ps_err_e ps_lgetxregs(struct ps_prochandle *Pr,
- lwpid_t lwpid, caddr_t xregs);
-ps_err_e ps_lsetxregs(struct ps_prochandle *Pr,
- lwpid_t lwpid, caddr_t xregs);
-#endif /* sparc */
-#if defined(__i386) || defined(__amd64)
-ps_err_e ps_lgetLDT(struct ps_prochandle *Pr,
- lwpid_t lwpid, struct ssd *ldt);
-#endif /* __i386 || __amd6464 */
-void ps_plog(const char *fmt, ...);
-
-/* Psymtab.c */
-void Pupdate_maps(struct ps_prochandle *Pr);
-void Pupdate_syms(struct ps_prochandle *Pr);
-rd_agent_t *Prd_agent(struct ps_prochandle *Pr);
-const prmap_t *Paddr_to_map(struct ps_prochandle *Pr, uintptr_t addr);
-const prmap_t *Paddr_to_text_map(struct ps_prochandle *Pr, uintptr_t addr);
-const prmap_t *Pname_to_map(struct ps_prochandle *Pr, const char *name);
-const prmap_t *Plmid_to_map(struct ps_prochandle *Pr, Lmid_t lmid,
- const char *name);
-int Plookup_by_addr(struct ps_prochandle *Pr, uintptr_t addr,
- char *sym_name_buffer, size_t bufsize, GElf_Sym *symbolp);
-int Plookup_by_name(struct ps_prochandle *Pr,
- const char *object_name, const char *symbol_name,
- GElf_Sym *sym);
-int Plookup_by_lmid(struct ps_prochandle *Pr,
- Lmid_t lmid, const char *object_name, const char *symbol_name,
- GElf_Sym *sym);
-const rd_loadobj_t *Paddr_to_loadobj(struct ps_prochandle *, uintptr_t);
-const rd_loadobj_t *Pname_to_loadobj(struct ps_prochandle *, const char *);
-const rd_loadobj_t *Plmid_to_loadobj(struct ps_prochandle *, Lmid_t,
- const char *);
-int Pmapping_iter(struct ps_prochandle *Pr, proc_map_f *func, void *cd);
-int Pmapping_iter_resolved(struct ps_prochandle *Pr, proc_map_f *func,
- void *cd);
-int Pobject_iter(struct ps_prochandle *Pr, proc_map_f *func, void *cd);
-int Pobject_iter_resolved(struct ps_prochandle *Pr, proc_map_f *func,
- void *cd);
-char *Pobjname(struct ps_prochandle *Pr, uintptr_t addr,
- char *buffer, size_t bufsize);
-char *Pobjname_resolved(struct ps_prochandle *Pr, uintptr_t addr,
- char *buffer, size_t bufsize);
-int Plmid(struct ps_prochandle *Pr, uintptr_t addr, Lmid_t *lmidp);
-int Psymbol_iter(struct ps_prochandle *Pr, const char *object_name,
- int which, int type, proc_sym_f *func, void *cd);
-int Psymbol_iter_by_lmid(struct ps_prochandle *Pr, Lmid_t lmid,
- const char *object_name, int which, int type,
- proc_sym_f *func, void *cd);
-char *Pgetenv(struct ps_prochandle *Pr, const char *name,
- char *buffer, size_t bufsize);
-char *Pplatform(struct ps_prochandle *Pr, char *s, size_t n);
-int Puname(struct ps_prochandle *Pr, struct utsname *u);
-char *Pzonename(struct ps_prochandle *Pr, char *s, size_t n);
-char *Pfindobj(struct ps_prochandle *Pr, const char *path,
- char *s, size_t n);
-char *Pexecname(struct ps_prochandle *Pr, char *buffer, size_t bufsize);
-void Preset_maps(struct ps_prochandle *Pr);
-
-ps_err_e ps_pglobal_lookup(struct ps_prochandle *Pr,
- const char *object_name, const char *sym_name,
- psaddr_t *sym_addr);
-
-ps_err_e ps_pglobal_sym(struct ps_prochandle *Pr,
- const char *object_name, const char *sym_name,
- ps_sym_t *symp);
-
-long Pgetauxval(struct ps_prochandle *Pr, int type);
-const auxv_t *Pgetauxvec(struct ps_prochandle *Pr);
-ps_err_e ps_pauxv(struct ps_prochandle *Pr, const auxv_t **aux);
-
-/* Putil.c */
-void Perror_printf(struct ps_prochandle *Pr, const char *format, ...);
-
-/* pr_door.c */
-int pr_door_info(struct ps_prochandle *Pr, int did, door_info_t *di);
-
-/* pr_exit.c */
-int pr_exit(struct ps_prochandle *Pr, int status);
-int pr_lwp_exit(struct ps_prochandle *Pr);
-
-/* pr_fcntl.c */
-int pr_fcntl(struct ps_prochandle *Pr, int fd, int cmd, void *argp);
-
-/* pr_getitimer.c */
-int pr_getitimer(struct ps_prochandle *Pr,
- int which, struct itimerval *itv);
-int pr_setitimer(struct ps_prochandle *Pr,
- int which, const struct itimerval *itv, struct itimerval *oitv);
-
-/* pr_getrctl.c */
-int pr_getrctl(struct ps_prochandle *Pr, const char *rname,
- rctlblk_t *old_blk, rctlblk_t *new_blk, int rflag);
-int pr_setrctl(struct ps_prochandle *Pr, const char *rname,
- rctlblk_t *old_blk, rctlblk_t *new_blk, int rflag);
-int pr_setprojrctl(struct ps_prochandle *Pr, const char *rname,
- rctlblk_t *new_blk, size_t size, int rflag);
-
-/* pr_getrlimit.c */
-int pr_getrlimit(struct ps_prochandle *Pr,
- int resource, struct rlimit *rlp);
-int pr_setrlimit(struct ps_prochandle *Pr,
- int resource, const struct rlimit *rlp);
-int pr_getrlimit64(struct ps_prochandle *Pr,
- int resource, struct rlimit64 *rlp);
-int pr_setrlimit64(struct ps_prochandle *Pr,
- int resource, const struct rlimit64 *rlp);
-
-/* pr_getsockname.c */
-int pr_getsockname(struct ps_prochandle *Pr,
- int sock, struct sockaddr *name, socklen_t *namelen);
-int pr_getpeername(struct ps_prochandle *Pr,
- int sock, struct sockaddr *name, socklen_t *namelen);
-
-/* pr_ioctl.c */
-int pr_ioctl(struct ps_prochandle *Pr,
- int fd, int code, void *buf, size_t size);
-
-/* pr_lseek.c */
-off_t pr_lseek(struct ps_prochandle *Pr,
- int filedes, off_t offset, int whence);
-offset_t pr_llseek(struct ps_prochandle *Pr,
- int filedes, offset_t offset, int whence);
-
-/* pr_memcntl.c */
-int pr_memcntl(struct ps_prochandle *Pr,
- caddr_t addr, size_t len, int cmd, caddr_t arg, int attr, int mask);
-
-/* pr_mmap.c */
-void *pr_mmap(struct ps_prochandle *Pr,
- void *addr, size_t len, int prot, int flags, int fd, off_t off);
-int pr_munmap(struct ps_prochandle *Pr,
- void *addr, size_t len);
-void *pr_zmap(struct ps_prochandle *Pr,
- void *addr, size_t len, int prot, int flags);
-
-/* pr_open.c */
-int pr_open(struct ps_prochandle *Pr,
- const char *filename, int flags, mode_t mode);
-int pr_creat(struct ps_prochandle *Pr,
- const char *filename, mode_t mode);
-int pr_close(struct ps_prochandle *Pr, int fd);
-int pr_access(struct ps_prochandle *Pr, const char *path, int amode);
-
-/* pr_pbind.c */
-int pr_processor_bind(struct ps_prochandle *Pr, idtype_t, id_t, int, int *);
-
-/* pr_rename.c */
-int pr_rename(struct ps_prochandle *Pr, const char *old, const char *new);
-int pr_link(struct ps_prochandle *Pr, const char *exist, const char *new);
-int pr_unlink(struct ps_prochandle *Pr, const char *);
-
-/* pr_sigaction.c */
-int pr_sigaction(struct ps_prochandle *Pr,
- int sig, const struct sigaction *act, struct sigaction *oact);
-
-/* pr_stat.c */
-int pr_stat(struct ps_prochandle *Pr, const char *path, struct stat *buf);
-int pr_lstat(struct ps_prochandle *Pr, const char *path, struct stat *buf);
-int pr_fstat(struct ps_prochandle *Pr, int fd, struct stat *buf);
-int pr_stat64(struct ps_prochandle *Pr, const char *path,
- struct stat64 *buf);
-int pr_lstat64(struct ps_prochandle *Pr, const char *path,
- struct stat64 *buf);
-int pr_fstat64(struct ps_prochandle *Pr, int fd, struct stat64 *buf);
-
-/* pr_statvfs.c */
-int pr_statvfs(struct ps_prochandle *Pr, const char *path, statvfs_t *buf);
-int pr_fstatvfs(struct ps_prochandle *Pr, int fd, statvfs_t *buf);
-
-/* pr_tasksys.c */
-projid_t pr_getprojid(struct ps_prochandle *Pr);
-taskid_t pr_gettaskid(struct ps_prochandle *Pr);
-taskid_t pr_settaskid(struct ps_prochandle *Pr, projid_t project, int flags);
-
-/* pr_waitid.c */
-int pr_waitid(struct ps_prochandle *Pr,
- idtype_t idtype, id_t id, siginfo_t *infop, int options);
-
-/* proc_get_info.c */
-int proc_get_cred(pid_t pid, prcred_t *credp, int ngroups);
-prpriv_t *proc_get_priv(pid_t pid);
-void proc_free_priv(prpriv_t *);
-int proc_get_psinfo(pid_t pid, psinfo_t *psp);
-int proc_get_status(pid_t pid, pstatus_t *psp);
-int proc_get_auxv(pid_t pid, auxv_t *pauxv, int naux);
-
-/* proc_names.c */
-char *proc_fltname(int flt, char *buf, size_t bufsz);
-char *proc_signame(int sig, char *buf, size_t bufsz);
-char *proc_sysname(int sys, char *buf, size_t bufsz);
-
-int proc_str2flt(const char *str, int *fltnum);
-int proc_str2sig(const char *str, int *signum);
-int proc_str2sys(const char *str, int *sysnum);
-
-char *proc_fltset2str(const fltset_t *set, const char *delim, int members,
- char *buf, size_t nbytes);
-char *proc_sigset2str(const sigset_t *set, const char *delim, int members,
- char *buf, size_t nbytes);
-char *proc_sysset2str(const sysset_t *set, const char *delim, int members,
- char *buf, size_t nbytes);
-
-char *proc_str2fltset(const char *str, const char *delim, int members,
- fltset_t *set);
-char *proc_str2sigset(const char *str, const char *delim, int members,
- sigset_t *set);
-char *proc_str2sysset(const char *str, const char *delim, int members,
- sysset_t *set);
-
-int proc_walk(proc_walk_f *func, void *arg, int flags);
-
-/* proc_arg.c */
-struct ps_prochandle *proc_arg_grab(const char *arg,
- int oflag, int gflag, int *perr);
-
-pid_t proc_arg_psinfo(const char *arg, int oflag, psinfo_t *psp, int *perr);
-void proc_unctrl_psinfo(psinfo_t *psp);
-
-/* proc_set.c */
-int Psetcred(struct ps_prochandle *Pr, const prcred_t *pcred);
-
-/* Pstack.c */
-int Pstack_iter(struct ps_prochandle *Pr,
- const prgregset_t regs, proc_stack_f *func, void *arg);
-
-/* Pisadep.c */
-const char *Ppltdest(struct ps_prochandle *Pr, uintptr_t addr);
diff --git a/usr/src/lib/libproject/common/llib-lproject b/usr/src/lib/libproject/common/llib-lproject
deleted file mode 100644
index 0acd9641b3..0000000000
--- a/usr/src/lib/libproject/common/llib-lproject
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <project.h>
-#include <sys/types.h>
-
-struct ps_prochandle;
-typedef struct priv_set priv_set_t;
-
-priv_set_t *setproject_initpriv(void);
-projid_t setproject_proc(const char *, const char *, int, pid_t,
- struct ps_prochandle *, struct project *);
diff --git a/usr/src/lib/libprtdiag/common/llib-lprtdiag b/usr/src/lib/libprtdiag/common/llib-lprtdiag
deleted file mode 100644
index 5c7ac4ce3b..0000000000
--- a/usr/src/lib/libprtdiag/common/llib-lprtdiag
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <sys/types.h>
-#include "libprtdiag.h"
diff --git a/usr/src/lib/libpthread/common/llib-lpthread b/usr/src/lib/libpthread/common/llib-lpthread
deleted file mode 100644
index ec13f98fd0..0000000000
--- a/usr/src/lib/libpthread/common/llib-lpthread
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <pthread.h>
diff --git a/usr/src/lib/libraidcfg/common/llib-lraidcfg b/usr/src/lib/libraidcfg/common/llib-lraidcfg
deleted file mode 100644
index a0626c6b0b..0000000000
--- a/usr/src/lib/libraidcfg/common/llib-lraidcfg
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <raidcfg.h>
diff --git a/usr/src/lib/librcm/llib-lrcm b/usr/src/lib/librcm/llib-lrcm
deleted file mode 100644
index c6c8dd1679..0000000000
--- a/usr/src/lib/librcm/llib-lrcm
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-/*
- * Copyright 1999-2000, 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * usr/src/lib/librcm/llib-ldevinfo
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include "librcm.h"
-#include "librcm_event.h"
-
-/* librcm interfaces */
-
-int rcm_get_handle(char *, uint_t, void *, rcm_handle_t **);
-int rcm_free_handle(rcm_handle_t *);
-int rcm_get_info(rcm_handle_t *, char *, uint_t, rcm_info_t **);
-int rcm_get_rsrcstate(rcm_handle_t *, char *, int *);
-void rcm_free_info(rcm_info_t *);
-int rcm_append_info(rcm_info_t **, rcm_info_t *);
-rcm_info_tuple_t *rcm_info_next(rcm_info_t *, rcm_info_tuple_t *);
-const char *rcm_info_rsrc(rcm_info_tuple_t *);
-const char *rcm_info_info(rcm_info_tuple_t *);
-const char *rcm_info_modname(rcm_info_tuple_t *);
-const char *rcm_info_error(rcm_info_tuple_t *);
-pid_t rcm_info_pid(rcm_info_tuple_t *);
-int rcm_info_state(rcm_info_tuple_t *);
-int rcm_info_seqnum(rcm_info_tuple_t *);
-nvlist_t *rcm_info_properties(rcm_info_tuple_t *);
-int rcm_request_offline(rcm_handle_t *, char *, uint_t, rcm_info_t **);
-int rcm_request_offline_list(rcm_handle_t *, char **, uint_t, rcm_info_t **);
-int rcm_notify_online(rcm_handle_t *, char *, uint_t, rcm_info_t **);
-int rcm_notify_online_list(rcm_handle_t *, char **, uint_t, rcm_info_t **);
-int rcm_notify_remove(rcm_handle_t *, char *, uint_t, rcm_info_t **);
-int rcm_notify_remove_list(rcm_handle_t *, char **, uint_t, rcm_info_t **);
-int rcm_request_suspend(rcm_handle_t *, char *, uint_t, timespec_t *,
- rcm_info_t **);
-int rcm_request_suspend_list(rcm_handle_t *, char **, uint_t, timespec_t *,
- rcm_info_t **);
-int rcm_notify_resume(rcm_handle_t *, char *, uint_t, rcm_info_t **);
-int rcm_notify_resume_list(rcm_handle_t *, char **, uint_t, rcm_info_t **);
-int rcm_notify_event(rcm_handle_t *, char *, uint_t, nvlist_t *, rcm_info_t **);
-int rcm_register_event(rcm_handle_t *, char *, uint_t, rcm_info_t **);
-int rcm_unregister_event(rcm_handle_t *, char *, uint_t);
-int rcm_register_capacity(rcm_handle_t *, char *, uint_t, rcm_info_t **);
-int rcm_unregister_capacity(rcm_handle_t *, char *, uint_t);
-int rcm_register_interest(rcm_handle_t *, char *, uint_t, rcm_info_t **);
-int rcm_unregister_interest(rcm_handle_t *, char *, uint_t);
-int rcm_exec_cmd(char *);
-char *rcm_module_dir(uint_t);
-void *rcm_module_open(char *);
-void rcm_module_close(void *);
-const char *rcm_get_client_name(rcm_handle_t *);
-
-char *rcm_script_dir(uint_t);
-char *rcm_dir(uint_t, int *);
-char *rcm_get_script_dir(char *);
-int rcm_is_script(char *);
-
-/* event related interfaces */
-
-int get_event_service(char *, void *, size_t, void **, size_t *);
-int create_event_service(char *, void (*)(void **, size_t *));
-int revoke_event_service(int);
diff --git a/usr/src/lib/libreparse/common/llib-lreparse b/usr/src/lib/libreparse/common/llib-lreparse
deleted file mode 100644
index 082aa4032d..0000000000
--- a/usr/src/lib/libreparse/common/llib-lreparse
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#include <sys/fs_reparse.h>
-#include "rp_plugin.h"
-
-/*
- * usr/src/lib/libreparse
- */
-int reparse_add(nvlist_t *, const char *, const char *);
-int reparse_create(const char *, const char *);
-int reparse_delete(const char *);
-int reparse_deref(const char *, const char *, char *, size_t *);
-void reparse_free(nvlist_t *);
-nvlist_t *reparse_init(void);
-int reparse_parse(const char *, nvlist_t *);
-int reparse_remove(nvlist_t *, const char *);
-int reparse_remove(nvlist_t *, const char *);
-int reparse_unparse(nvlist_t *, char **);
-int reparse_validate(const char *);
-int rp_plugin_init();
diff --git a/usr/src/lib/libresolv2/common/llib-lresolv b/usr/src/lib/libresolv2/common/llib-lresolv
deleted file mode 100644
index aedd06a0fa..0000000000
--- a/usr/src/lib/libresolv2/common/llib-lresolv
+++ /dev/null
@@ -1,59 +0,0 @@
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1997-1999 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <stdio.h>
-#include <sys/types.h>
-#include <netinet/in.h>
-#include <netdb.h>
-#include <arpa/nameser.h>
-#include <resolv.h>
-
-/*
- * usr/src/lib/libresolv2 routines
- */
-
-int dn_skipname(const uchar_t *, const uchar_t *);
-void fp_query(const u_char *, FILE *);
-const uchar_t * p_cdname(const uchar_t *, const uchar_t *, FILE *);
-const char * p_class(int);
-void p_query(const u_char *);
-const char * p_time(unsigned int);
-const char * p_type(int);
-void putlong(unsigned int, uchar_t *);
-uint32_t _getlong(const u_char *);
-uint16_t _getshort(const u_char *);
-const char * hstrerror(int);
-int res_init(void);
-int res_mkquery(int, const char *, int, int, const u_char *,
- int, const u_char *, u_char *, int);
-int res_query(const char *, int, int, u_char *, int);
-int res_querydomain(const char *, const char *, int, int,
- u_char *, int);
-int res_search(const char *, int, int, u_char *, int);
-int res_send(const u_char *, int, u_char *, int);
-int res_update(ns_updrec *);
-int res_ninit(res_state);
-void fp_resstat(const res_state, FILE *);
-const char * res_hostalias(const res_state, const char *, char *, size_t);
-int res_nquery(res_state, const char *, int, int, u_char *, int);
-int res_nsearch(res_state, const char *, int, int, u_char *, int);
-int res_nquerydomain(res_state, const char *, const char *,
- int, int, u_char *, int);
-int res_nmkquery(res_state, int, const char *, int, int,
- const u_char *, int, const u_char *,
- u_char *, int);
-int res_nsend(res_state, const u_char *, int, u_char *, int);
-int res_nmkupdate(res_state, ns_updrec *, u_char *, int);
-void res_nclose(res_state);
-int res_nsendsigned(res_state, const u_char *, int, ns_tsig_key *,
- u_char *, int);
-int dn_comp(const char *, u_char *, int, u_char **, u_char **);
-int dn_expand(const u_char *, const u_char *, const u_char *,
- char *, int);
diff --git a/usr/src/lib/librestart/common/llib-lrestart b/usr/src/lib/librestart/common/llib-lrestart
deleted file mode 100644
index e70649f4e9..0000000000
--- a/usr/src/lib/librestart/common/llib-lrestart
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <librestart.h>
-#include <librestart_priv.h>
diff --git a/usr/src/lib/librpcsvc/common/llib-lrpcsvc b/usr/src/lib/librpcsvc/common/llib-lrpcsvc
deleted file mode 100644
index 70b5165b01..0000000000
--- a/usr/src/lib/librpcsvc/common/llib-lrpcsvc
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <rpcsvc/autofs_prot.h>
-#include <rpcsvc/bootparam_prot.h>
-#include <rpcsvc/mount.h>
-#include <rpcsvc/nfs4_prot.h>
-#include <rpcsvc/nlm_prot.h>
-#include <rpcsvc/rpc_sztypes.h>
-#include <rpcsvc/rstat.h>
-#include <rpcsvc/ufs_prot.h>
-
-extern int __clnt_bindresvport(CLIENT *);
-
diff --git a/usr/src/lib/librsc/Makefile.com b/usr/src/lib/librsc/Makefile.com
index a1d16211d3..29b7c98757 100644
--- a/usr/src/lib/librsc/Makefile.com
+++ b/usr/src/lib/librsc/Makefile.com
@@ -22,6 +22,8 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
+#
LIBRARY= librsc.a
VERS= .1
@@ -40,8 +42,6 @@ LINKED_LIBRSC_DIR = \
$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/librsc.so)
LINKED_LIBRSC1_DIR = \
$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/librsc.so.1)
-LINKED_LLIBLRSC_DIR = \
- $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/llib-lrsc.ln)
# There should be a mapfile here
MAPFILES =
@@ -53,7 +53,6 @@ LDLIBS += -lc
PLATLIBS = $(USR_PLAT_DIR)/$(PLATFORM)/lib/
INS.slink6= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/librsc.so.1 $@
INS.slink7= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/librsc.so $@
-INS.slink8= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/llib-lrsc.ln $@
.KEEP_STATE:
@@ -71,8 +70,7 @@ $(PLATLIBS)/librsc.so:
install: all $(USR_PSM_LIBS) $(PLATLIBS)/librsc.so \
$(LINKED_DIRS) $(LINKED_LIB_DIRS) \
- $(LINKED_LIBRSC_DIR) $(LINKED_LIBRSC1_DIR) \
- $(LINKED_LLIBLRSC_DIR)
+ $(LINKED_LIBRSC_DIR) $(LINKED_LIBRSC1_DIR)
$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
$(INS.file)
@@ -89,7 +87,4 @@ $(LINKED_LIBRSC_DIR): $(USR_PLAT_DIR)
$(LINKED_LIBRSC1_DIR): $(USR_PLAT_DIR)
-$(INS.slink6)
-$(LINKED_LLIBLRSC_DIR): $(USR_PLAT_DIR)
- -$(INS.slink8)
-
include $(SRC)/lib/Makefile.targ
diff --git a/usr/src/lib/librstp/common/llib-lrstp b/usr/src/lib/librstp/common/llib-lrstp
deleted file mode 100644
index e80ecd4156..0000000000
--- a/usr/src/lib/librstp/common/llib-lrstp
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <stp_in.h>
-#include <stp_vectors.h>
diff --git a/usr/src/lib/librt/common/llib-lrt b/usr/src/lib/librt/common/llib-lrt
deleted file mode 100644
index 0850024175..0000000000
--- a/usr/src/lib/librt/common/llib-lrt
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <aio.h>
-#include <mqueue.h>
-#include <sched.h>
-#include <semaphore.h>
-
-/*
- * NOTE: We list the following interfaces explicitly because the header
- * files that they're part of include *lots* of other interfaces
- * that are not part of librt.
- */
-
-int clock_getres(clockid_t, struct timespec *);
-int clock_gettime(clockid_t, struct timespec *);
-int clock_settime(clockid_t, const struct timespec *);
-int fdatasync(int);
-int nanosleep(const struct timespec *, struct timespec *);
-int shm_open(const char *, int, mode_t);
-int shm_unlink(const char *);
-int sigwaitinfo(const sigset_t *_RESTRICT_KYWD, siginfo_t *_RESTRICT_KYWD);
-int sigtimedwait(const sigset_t *_RESTRICT_KYWD, siginfo_t *_RESTRICT_KYWD,
- const struct timespec *_RESTRICT_KYWD);
-int sigqueue(pid_t, int, const union sigval);
-int timer_create(clockid_t, struct sigevent *_RESTRICT_KYWD,
- timer_t *_RESTRICT_KYWD);
-int timer_delete(timer_t);
-int timer_getoverrun(timer_t);
-int timer_gettime(timer_t, struct itimerspec *);
-int timer_settime(timer_t, int, const struct itimerspec *_RESTRICT_KYWD,
- struct itimerspec *_RESTRICT_KYWD);
diff --git a/usr/src/lib/libsasl/lib/llib-lsasl b/usr/src/lib/libsasl/lib/llib-lsasl
deleted file mode 100644
index 2246c0a2b1..0000000000
--- a/usr/src/lib/libsasl/lib/llib-lsasl
+++ /dev/null
@@ -1,52 +0,0 @@
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#ident "%Z%%M% %I% %E% SMI"
-
-#include <sasl/sasl.h>
-#include <sasl/saslplug.h>
-#include <sasl/saslutil.h>
-#include <sasl/prop.h>
-
-void *sasl_create_context(void);
-
-void sasl_free_context(void *context);
-
-extern int _sasl_server_init(void *ctx, const sasl_callback_t *callbacks,
- const char *appname);
-
-extern int _sasl_server_new(void *ctx, const char *service,
- const char *serverFQDN, const char *user_realm,
- const char *iplocalport, const char *ipremoteport,
- const sasl_callback_t *callbacks, unsigned flags,
- sasl_conn_t **pconn);
-
-extern int _sasl_client_init(void *ctx,
- const sasl_callback_t *callbacks);
-
-extern int _sasl_client_new(void *ctx,
- const char *service,
- const char *serverFQDN,
- const char *iplocalport,
- const char *ipremoteport,
- const sasl_callback_t *prompt_supp,
- unsigned flags,
- sasl_conn_t **pconn);
-
-extern int _sasl_client_add_plugin(void *ctx,
- const char *plugname,
- sasl_client_plug_init_t *cplugfunc);
-extern int _sasl_server_add_plugin(void *ctx,
- const char *plugname,
- sasl_server_plug_init_t *splugfunc);
-extern int _sasl_canonuser_add_plugin(void *ctx,
- const char *plugname,
- sasl_canonuser_init_t *canonuserfunc);
-extern int _sasl_auxprop_add_plugin(void *ctx,
- const char *plugname,
- sasl_auxprop_init_t *auxpropfunc);
diff --git a/usr/src/lib/libsaveargs/common/llib-lsaveargs b/usr/src/lib/libsaveargs/common/llib-lsaveargs
deleted file mode 100644
index ef08c73ed8..0000000000
--- a/usr/src/lib/libsaveargs/common/llib-lsaveargs
+++ /dev/null
@@ -1,17 +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 2013, Richard Lowe. */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <saveargs.h>
diff --git a/usr/src/lib/libscf/common/llib-lscf b/usr/src/lib/libscf/common/llib-lscf
deleted file mode 100644
index 0c44db1331..0000000000
--- a/usr/src/lib/libscf/common/llib-lscf
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <libscf.h>
-#include <libscf_priv.h>
diff --git a/usr/src/lib/libsched/common/llib-lsched b/usr/src/lib/libsched/common/llib-lsched
deleted file mode 100644
index 6d4270ee7d..0000000000
--- a/usr/src/lib/libsched/common/llib-lsched
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <schedctl.h>
-
-/* schedctl.c */
-schedctl_t *schedctl_init(void);
-schedctl_t *schedctl_lookup(void);
-void schedctl_exit(void);
diff --git a/usr/src/lib/libsctp/common/llib-lsctp b/usr/src/lib/libsctp/common/llib-lsctp
deleted file mode 100644
index f3ae6aa529..0000000000
--- a/usr/src/lib/libsctp/common/llib-lsctp
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netinet/sctp.h>
diff --git a/usr/src/lib/libsec/common/llib-lsec b/usr/src/lib/libsec/common/llib-lsec
deleted file mode 100644
index 36d04ec197..0000000000
--- a/usr/src/lib/libsec/common/llib-lsec
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <grp.h>
-#include <pwd.h>
-#include <limits.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/acl.h>
-#include <aclutils.h>
diff --git a/usr/src/lib/libsecdb/common/llib-lsecdb b/usr/src/lib/libsecdb/common/llib-lsecdb
deleted file mode 100644
index 4e32c65c2e..0000000000
--- a/usr/src/lib/libsecdb/common/llib-lsecdb
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 1999, 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <auth_attr.h>
-#include <exec_attr.h>
-#include <prof_attr.h>
-#include <user_attr.h>
-#include <secdb.h>
diff --git a/usr/src/lib/libsendfile/common/llib-lsendfile b/usr/src/lib/libsendfile/common/llib-lsendfile
deleted file mode 100644
index 7b708f689f..0000000000
--- a/usr/src/lib/libsendfile/common/llib-lsendfile
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <sys/sendfile.h>
diff --git a/usr/src/lib/libsff/common/llib-lsff b/usr/src/lib/libsff/common/llib-lsff
deleted file mode 100644
index 1636a7e1b0..0000000000
--- a/usr/src/lib/libsff/common/llib-lsff
+++ /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 (c) 2017 Joyent, Inc.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libsfp.h>
diff --git a/usr/src/lib/libshare/common/llib-lshare b/usr/src/lib/libshare/common/llib-lshare
deleted file mode 100644
index d426f1bf58..0000000000
--- a/usr/src/lib/libshare/common/llib-lshare
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include "libshare.h"
diff --git a/usr/src/lib/libshell/common/llib-lshell b/usr/src/lib/libshell/common/llib-lshell
deleted file mode 100644
index a65fe10ee2..0000000000
--- a/usr/src/lib/libshell/common/llib-lshell
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * lib/libshell/common/llib-lshell
- *
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <shell.h>
-#include <nval.h>
diff --git a/usr/src/lib/libsip/common/llib-lsip b/usr/src/lib/libsip/common/llib-lsip
deleted file mode 100644
index 173c2178ea..0000000000
--- a/usr/src/lib/libsip/common/llib-lsip
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-#include <sip.h>
diff --git a/usr/src/lib/libsldap/common/llib-lsldap b/usr/src/lib/libsldap/common/llib-lsldap
deleted file mode 100644
index 5f59110773..0000000000
--- a/usr/src/lib/libsldap/common/llib-lsldap
+++ /dev/null
@@ -1,246 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- *Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-#include <stdio.h>
-#include <sys/types.h>
-#include <lber.h>
-#include <ldap.h>
-#include "ns_sldap.h"
-
-
-/*
- * Simplified LDAP Naming APIs
- */
-int __ns_ldap_list(
- const char *service,
- const char *filter,
- int (*init_filter_cb)(const ns_ldap_search_desc_t *desc,
- char **realfilter, const void *userdata),
- const char * const *attribute,
- const ns_cred_t *cred,
- const int flags,
- ns_ldap_result_t ** result,
- ns_ldap_error_t ** errorp,
- int (*callback)(const ns_ldap_entry_t *entry, const void *userdata),
- const void *userdata);
-
-int __ns_ldap_list_sort(
- const char *service,
- const char *filter,
- const char *sortattr,
- int (*init_filter_cb)(const ns_ldap_search_desc_t *desc,
- char **realfilter, const void *userdata),
- const char * const *attribute,
- const ns_cred_t *cred,
- const int flags,
- ns_ldap_result_t ** result,
- ns_ldap_error_t ** errorp,
- int (*callback)(const ns_ldap_entry_t *entry, const void *userdata),
- const void *userdata);
-
-int __ns_ldap_addAttr(
- const char *service,
- const char *dn,
- const ns_ldap_attr_t * const *attr,
- const ns_cred_t *cred,
- const int flags,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_delAttr(
- const char *service,
- const char *dn,
- const ns_ldap_attr_t * const *attr,
- const ns_cred_t *cred,
- const int flags,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_repAttr(
- const char *service,
- const char *dn,
- const ns_ldap_attr_t * const *attr,
- const ns_cred_t *cred,
- const int flags,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_addEntry(
- const char *service,
- const char *dn,
- const ns_ldap_entry_t *entry,
- const ns_cred_t *cred,
- const int flags,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_addTypedEntry(
- const char *servicetype,
- const char *basedn,
- const void *data,
- const int create,
- const ns_cred_t *cred,
- const int flags,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_delEntry(
- const char *service,
- const char *dn,
- const ns_cred_t *cred,
- const int flags,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_firstEntry(
- const char *service,
- const char *filter,
- const char *sortattr,
- int (*init_filter_cb)(const ns_ldap_search_desc_t *desc,
- char **realfilter, const void *userdata),
- const char * const *attribute,
- const ns_cred_t *cred,
- const int flags,
- void **cookie,
- ns_ldap_result_t ** result,
- ns_ldap_error_t **errorp,
- const void *userdata);
-
-int __ns_ldap_nextEntry(
- void *cookie,
- ns_ldap_result_t ** result,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_endEntry(
- void **cookie,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_freeResult(
- ns_ldap_result_t **result);
-
-int __ns_ldap_freeError(
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_freeCookie(
- void **cookie);
-
-int __ns_ldap_uid2dn(
- const char *uid,
- char **userDN,
- const ns_cred_t *cred,
- ns_ldap_error_t ** errorp);
-
-int __ns_ldap_host2dn(
- const char *host,
- const char *domain,
- char **hostDN,
- const ns_cred_t *cred,
- ns_ldap_error_t ** errorp);
-
-int __ns_ldap_dn2domain(
- const char *dn,
- char **domain,
- const ns_cred_t *cred,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_auth(
- const ns_cred_t *cred,
- const int flag,
- ns_ldap_error_t **errorp,
- LDAPControl **serverctrls,
- LDAPControl **clientctrls);
-
-int __ns_ldap_err2str(
- int err,
- char **strmsg);
-
-int __ns_ldap_setParam(
- const ParamIndexType type,
- const void *data,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_getParam(
- const ParamIndexType type,
- void ***data,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_freeParam(
- void ***data);
-
-char **__ns_ldap_getAttr(
- const ns_ldap_entry_t *entry,
- const char *attrname);
-
-int __s_api_prepend_automountmapname_to_dn(
- const char *service,
- char **basedn,
- ns_ldap_error_t ** errorp);
-
-char *__s_api_get_canonical_name(
- ns_ldap_entry_t *entry,
- ns_ldap_attr_t *attrptr,
- int case_ignore);
-
-void __ns_ldap_setServer(
- int set);
-
-ns_ldap_error_t *__ns_ldap_LoadConfiguration(
- void);
-
-ns_ldap_error_t *__ns_ldap_DumpConfiguration(
- char *file);
-
-ns_ldap_error_t *__ns_ldap_DumpLdif(
- char *filename);
-
-ns_ldap_error_t *__ns_ldap_print_config(
- int verbose);
-
-void __ns_ldap_default_config(
- void);
-
-int __ns_ldap_download(
- const char *profile,
- char *addr,
- char *baseDN,
- ns_ldap_error_t **errorp);
-
-int __ns_ldap_check_dns_preq(
- int foreground,
- int mode_verbose,
- int mode_quiet,
- const char *fname,
- ns_ldap_self_gssapi_config_t config,
- ns_ldap_error_t **errpp);
-
-int __ns_ldap_check_gssapi_preq(
- int foreground,
- int mode_verbose,
- int mode_quiet,
- ns_ldap_self_gssapi_config_t config,
- ns_ldap_error_t **errpp);
-
-int __ns_ldap_check_all_preq(
- int foreground,
- int mode_verbose,
- int mode_quiet,
- ns_ldap_self_gssapi_config_t config,
- ns_ldap_error_t **errpp);
diff --git a/usr/src/lib/libslp/clib/llib-lslp b/usr/src/lib/libslp/clib/llib-lslp
deleted file mode 100644
index c28556bddb..0000000000
--- a/usr/src/lib/libslp/clib/llib-lslp
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1999 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <slp.h>
-
-SLPError SLPOpen(const char *pcLang, SLPBoolean isAsync, SLPHandle *phSLP);
-
-void SLPClose(SLPHandle hSLP);
-
-SLPError SLPReg(SLPHandle hSLP, const char *pcSrvURL,
- const unsigned short usLifetime,
- const char *pcSrvType,
- const char *pcAttrs, SLPBoolean fresh,
- SLPRegReport callback, void *pvUser);
-
-SLPError SLPDereg(SLPHandle hSLP, const char *pURL,
- SLPRegReport callback, void *pvUser);
-
-SLPError SLPDelAttrs(SLPHandle hSLP, const char *pURL,
- const char *pcAttrs,
- SLPRegReport callback, void *pvUser);
-
-
-SLPError SLPFindSrvTypes(SLPHandle hSLP, const char *pcNamingAuthority,
- const char *pcScopeList,
- SLPSrvTypeCallback callback, void *pvUser);
-
-SLPError SLPFindSrvs(SLPHandle hSLP, const char *pcServiceType,
- const char *pcScope, const char *pcSearchFilter,
- SLPSrvURLCallback callback, void *pvUser);
-
-SLPError SLPFindAttrs(SLPHandle hSLP, const char *pcURL, const char *pcScope,
- const char *pcAttrIds,
- SLPAttrCallback callback, void *pvUser);
-
-unsigned short SLPGetRefreshInterval(void);
-
-SLPError SLPFindScopes(SLPHandle hSLP, char **ppcScopes);
-
-SLPError SLPEscape(const char *pcInbuf, char **ppcOutBuf, SLPBoolean isTag);
-
-SLPError SLPUnescape(const char *pcInbuf, char **ppcOutBuf, SLPBoolean isTag);
-
-void SLPSetProperty(const char *pcName, const char *pcValue);
-
-const char *SLPGetProperty(const char *pcName);
-
-void SLPFree(void *pvMem);
-
-SLPError SLPParseSrvURL(char *pcSrvURL, SLPSrvURL** ppSrvURL);
-
-const char *slp_strerror(SLPError err);
diff --git a/usr/src/lib/libsmbfs/smb/llib-lsmbfs b/usr/src/lib/libsmbfs/smb/llib-lsmbfs
deleted file mode 100644
index 7459db63be..0000000000
--- a/usr/src/lib/libsmbfs/smb/llib-lsmbfs
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <netsmb/smbfs_api.h>
-#include <netsmb/smbfs_acl.h>
-
-#include <netsmb/smb_lib.h>
-#include <netsmb/smb_keychain.h>
-#include <netsmb/smb_rap.h>
-#include <netsmb/spnego.h>
-
diff --git a/usr/src/lib/libsmbios/common/llib-lsmbios b/usr/src/lib/libsmbios/common/llib-lsmbios
deleted file mode 100644
index b0c74b31bd..0000000000
--- a/usr/src/lib/libsmbios/common/llib-lsmbios
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <smbios.h>
diff --git a/usr/src/lib/libsmedia/library/common/llib-lsmedia b/usr/src/lib/libsmedia/library/common/llib-lsmedia
deleted file mode 100644
index a8e1b29217..0000000000
--- a/usr/src/lib/libsmedia/library/common/llib-lsmedia
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright(c) 1997 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/smedia.h>
diff --git a/usr/src/lib/libsocket/common/llib-lsocket b/usr/src/lib/libsocket/common/llib-lsocket
deleted file mode 100644
index 3e2bc0a167..0000000000
--- a/usr/src/lib/libsocket/common/llib-lsocket
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-/* Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved. */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <net/if.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/isa_defs.h>
-#include <arpa/inet.h>
-#include <sys/ethernet.h>
-#include <netdb.h>
-#include <net/if_dl.h>
-#include <ifaddrs.h>
-#include <libsocket_priv.h>
-
-/*
- * usr/src/lib/libsocket/inet routines not prototyped in the above
- * header files.
- */
-
-/* bindresvport.c */
-int bindresvport(int sd, struct sockaddr_in *sin);
-
-/* bootparams_getbyname.c */
-int bootparams_getbyname(char *name, char *linebuf, int linelen);
-
-/* inet6_rthdr.c */
-int __inet6_rthdr_add(void *, const struct in6_addr *);
-struct in6_addr *__inet6_rthdr_getaddr(void *, int);
-
-/* netmasks.c */
-int getnetmaskbynet(const struct in_addr net, struct in_addr *mask);
-
-/* ruserpass.c */
-void _ruserpass(const char *host, char **aname, char **apass);
-
-/*
- * usr/src/lib/libsocket/socket routines
- */
-
-/* _soutil.c */
-
-/* socket.c */
-int socket(int domain, int type, int protocol);
-int _socket(int domain, int type, int protocol);
-int _socket_bsd(int family, int type, int protocol);
-int __xnet_socket(int family, int type, int protocol);
-
-/* socketpair.c */
-int socketpair(int domain, int type, int protocol, int sv[]);
-int _socketpair(int domain, int type, int protocol, int *sv);
-int _socketpair_bsd(int domain, int type, int protocol, int *sv);
-int __xnet_socketpair(int domain, int type, int protocol, int *sv);
-
-/* weaks.c */
-int bind(int s, const struct sockaddr *name, socklen_t namelen);
-int listen(int s, int backlog);
-int accept(int s, struct sockaddr *addr, Psocklen_t addrlen);
-int accept4(int s, struct sockaddr *addr, Psocklen_t addrlen, int flags);
-int connect(int s, const struct sockaddr *name, socklen_t namelen);
-int shutdown(int s, int how);
-ssize_t recv(int s, void *buf, size_t len, int flags);
-ssize_t recvfrom(int s, void *buf, size_t len, int flags,
- struct sockaddr *from, Psocklen_t fromlen);
-ssize_t recvmsg(int s, struct msghdr *msg, int flags);
-ssize_t send(int s, const void *msg, size_t len, int flags);
-ssize_t sendmsg(int s, const struct msghdr *msg, int flags);
-ssize_t sendto(int s, const void *msg, size_t len, int flags,
- const struct sockaddr *to, socklen_t tolen);
-int getpeername(int s, struct sockaddr *name, Psocklen_t namelen);
-int getsockname(int s, struct sockaddr *name, Psocklen_t namelen);
-int getsockopt(int s, int level, int optname, void *optval, Psocklen_t optlen);
-int setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen);
-
-int _bind(int s, const struct sockaddr *name, int namelen);
-int _listen(int s, int backlog);
-int _accept(int s, struct sockaddr *addr, int *addrlen);
-int _accept4(int s, struct sockaddr *addr, int *addrlen, int flags);
-int _connect(int s, struct sockaddr *name, int namelen);
-int _shutdown(int s, int how);
-int _recv(int s, char *buf, int len, int flags);
-int _recvfrom(int s, char *buf, int len, int flags,
- struct sockaddr *from, int *fromlen);
-int _recvmsg(int s, struct msghdr *msg, int flags);
-int _send(int s, const char *msg, int len, int flags);
-int _sendmsg(int s, const struct msghdr *msg, int flags);
-int _sendto(int s, const char *msg, int len, int flags,
- const struct sockaddr *to, int tolen);
-int _getpeername(int s, struct sockaddr *name, int *namelen);
-int _getsockname(int s, struct sockaddr *name, int *namelen);
-int _getsockopt(int s, int level, int optname, char *optval, int *optlen);
-int _setsockopt(int s, int level, int optname, const char *optval, int optlen);
-int __xnet_bind(int sock, const struct sockaddr *addr, socklen_t addrlen);
-int __xnet_listen(int sock, int backlog);
-int __xnet_connect(int sock, const struct sockaddr *addr, socklen_t addrlen);
-int __xnet_recvmsg(int sock, struct msghdr *msg, int flags);
-int __xnet_sendmsg(int sock, const struct msghdr *msg, int flags);
-int __xnet_sendto(int sock, const void *buf, size_t len, int flags,
- const struct sockaddr *addr, socklen_t addrlen);
-int __xnet_getsockopt(int sock, int level, int option_name,
- void *option_value, socklen_t *option_lenp);
diff --git a/usr/src/lib/libsqlite/Makefile.com b/usr/src/lib/libsqlite/Makefile.com
index 3ce5d9b1e4..6ab092d4d1 100644
--- a/usr/src/lib/libsqlite/Makefile.com
+++ b/usr/src/lib/libsqlite/Makefile.com
@@ -4,6 +4,7 @@
# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
# Copyright 2016 Nexenta Systems, Inc. All rights reserved.
# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
#
# Make the SO name unlikely to conflict with any other
@@ -133,7 +134,7 @@ TESTSRC = \
$(SRCDIR)/test1.c \
$(SRCDIR)/test2.c \
$(SRCDIR)/test3.c \
- $(SRCDIR)/md5.c
+ $(SRCDIR)/md5.c
TESTOBJS = $(TESTSRC:$(SRCDIR)/%.c=%.o)
@@ -198,7 +199,6 @@ ENCODING = ISO8859
all: $(LIBS)
install: all \
$(ROOTLIBDIR)/$(DYNLIB) \
- $(ROOTLIBDIR)/$(LINTLIB) \
$(ROOTLIBDIR)/$(NATIVERELOC)
lint:
diff --git a/usr/src/lib/libsqlite/llib-lsqlite-sys b/usr/src/lib/libsqlite/llib-lsqlite-sys
deleted file mode 100644
index c4d2f47fd9..0000000000
--- a/usr/src/lib/libsqlite/llib-lsqlite-sys
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include "sqlite.h"
-#include "sqlite-misc.h"
diff --git a/usr/src/lib/libsrpt/common/llib-lsrpt b/usr/src/lib/libsrpt/common/llib-lsrpt
deleted file mode 100644
index c807a7d9f5..0000000000
--- a/usr/src/lib/libsrpt/common/llib-lsrpt
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libsrpt.h>
diff --git a/usr/src/lib/libstmf/common/llib-lstmf b/usr/src/lib/libstmf/common/llib-lstmf
deleted file mode 100644
index 73d658b7ff..0000000000
--- a/usr/src/lib/libstmf/common/llib-lstmf
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libstmf.h>
-#include <store.h>
diff --git a/usr/src/lib/libstmfproxy/common/llib-lstmfproxy b/usr/src/lib/libstmfproxy/common/llib-lstmfproxy
deleted file mode 100644
index 6bf059869c..0000000000
--- a/usr/src/lib/libstmfproxy/common/llib-lstmfproxy
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libstmfproxy.h>
diff --git a/usr/src/lib/libsum/common/llib-lsum b/usr/src/lib/libsum/common/llib-lsum
deleted file mode 100644
index eecd61c3ac..0000000000
--- a/usr/src/lib/libsum/common/llib-lsum
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * lib/libsum/common/llib-lsum
- *
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <sum.h>
diff --git a/usr/src/lib/libsun_ima/common/llib-lsun_ima b/usr/src/lib/libsun_ima/common/llib-lsun_ima
deleted file mode 100644
index dcb4620e72..0000000000
--- a/usr/src/lib/libsun_ima/common/llib-lsun_ima
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <ima.h>
-#include <sys/scsi/adapters/iscsi_if.h>
-#include <sys/iscsi_protocol.h>
diff --git a/usr/src/lib/libsysevent/llib-lsysevent b/usr/src/lib/libsysevent/llib-lsysevent
deleted file mode 100644
index a0cc48b012..0000000000
--- a/usr/src/lib/libsysevent/llib-lsysevent
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * usr/src/lib/libsysevent/llib-lsysevent
- */
-
-#include <synch.h>
-#include <thread.h>
-#include "libsysevent.h"
-
-int sysevent_post_event(char *event_class, char *event_subclass, char *vendor,
- char *pub_name, nvlist_t *attr_list, sysevent_id_t *eid);
-sysevent_t *sysevent_dup(sysevent_t *ev);
-
-void sysevent_free(sysevent_t *ev);
-
-int sysevent_get_attr_list(sysevent_t *ev, nvlist_t **nvlist);
-
-int sysevent_lookup_attr(sysevent_t *ev, char *name, int datatype,
- sysevent_value_t *se_value);
-
-sysevent_attr_t *sysevent_attr_next(sysevent_t *ev, sysevent_attr_t *attr);
-
-char *sysevent_attr_name(sysevent_attr_t *attr);
-
-int sysevent_attr_value(sysevent_attr_t *attr, sysevent_value_t *se_value);
-
-int sysevent_get_class(sysevent_t *ev);
-
-char *sysevent_get_class_name(sysevent_t *ev);
-
-int sysevent_get_subclass(sysevent_t *ev);
-
-char *sysevent_get_subclass_name(sysevent_t *ev);
-
-char *sysevent_get_pub(sysevent_t *ev);
-
-char *sysevent_get_vendor_name(sysevent_t *ev);
-
-char *sysevent_get_pub_name(sysevent_t *ev);
-
-void sysevent_get_pid(sysevent_t *ev, pid_t *pid);
-
-uint64_t sysevent_get_seq(sysevent_t *ev);
-
-void sysevent_get_time(sysevent_t *ev, hrtime_t *etime);
-
-size_t sysevent_get_size(sysevent_t *ev);
-
-int sysevent_send_event(sysevent_handle_t *sysevent_hdl, sysevent_t *ev);
-
-sysevent_t * sysevent_alloc_event(char *event_class, char *event_subclass,
- char *vendor, char *pub_name, nvlist_t *attr_list);
-
-sysevent_handle_t * sysevent_open_channel(const char *channel);
-
-sysevent_handle_t * sysevent_open_channel_alt(const char *channel_path);
-
-void sysevent_close_channel(sysevent_handle_t *shp);
-
-int sysevent_bind_subscriber(sysevent_handle_t *shp,
- void (*callback)(sysevent_t *data));
-
-int sysevent_bind_publisher(sysevent_handle_t *shp);
-
-void sysevent_unbind_subscriber(sysevent_handle_t *shp);
-
-void sysevent_unbind_publisher(sysevent_handle_t *shp);
-
-int sysevent_register_event(sysevent_handle_t *shp, const char *event_class,
- const char **event_subclass_list, int num_subclasses);
-
-void sysevent_unregister_event(sysevent_handle_t *shp,
- const char *event_class);
-
-void sysevent_cleanup_publishers(sysevent_handle_t *shp);
-
-void sysevent_cleanup_subscribers(sysevent_handle_t *shp);
-
-sysevent_handle_t *sysevent_bind_handle(void (*event_handler)(sysevent_t *ev));
-
-void sysevent_unbind_handle(sysevent_handle_t *shp);
-
-int sysevent_subscribe_event(sysevent_handle_t *shp, const char *event_class,
- const char **event_subclass_list, int num_subclasses);
-
-void sysevent_unsubscribe_event(sysevent_handle_t *shp,
- const char *event_class);
-
-void se_print(FILE *fp, sysevent_t *ev);
-
-int sysevent_evc_bind(const char *channel_path, evchan_t **scpp,
- uint32_t flags);
-
-int sysevent_evc_unbind(evchan_t *scp);
-
-int sysevent_evc_publish(evchan_t *scp, const char *event_class,
- const char *event_subclass, const char *vendor, const char *pub_name,
- nvlist_t *attr_list, uint32_t flags);
-
-int sysevent_evc_subscribe(evchan_t *scp, const char *sid,
- const char *event_class,
- int (*event_handler)(sysevent_t *ev, void *cookie),
- void *cookie, uint32_t flags);
-int sysevent_evc_xsubscribe(evchan_t *scp, const char *sid,
- const char *event_class,
- int (*event_handler)(sysevent_t *ev, void *cookie),
- void *cookie, uint32_t flags,
- sysevent_subattr_t *xs);
-
-int sysevent_evc_unsubscribe(evchan_t *scp, const char *sid);
-
-int sysevent_evc_control(evchan_t *scp, int cmd, ...);
-
-sysevent_subattr_t *sysevent_subattr_alloc(void);
-void sysevent_subattr_free(sysevent_subattr_t *attr);
-
-void sysevent_subattr_thrcreate(sysevent_subattr_t *attr,
- door_xcreate_server_func_t *func, void *cookie);
-void sysevent_subattr_thrsetup(sysevent_subattr_t *attr,
- door_xcreate_thrsetup_func_t *func, void *cookie);
-
-void sysevent_subattr_thrattr(sysevent_subattr_t *attr,
- pthread_attr_t *thrattr);
-
diff --git a/usr/src/lib/libtecla/common/llib-ltecla b/usr/src/lib/libtecla/common/llib-ltecla
deleted file mode 100644
index 31cf03ec92..0000000000
--- a/usr/src/lib/libtecla/common/llib-ltecla
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libtecla.h>
diff --git a/usr/src/lib/libtermcap/common/llib-ltermcap b/usr/src/lib/libtermcap/common/llib-ltermcap
deleted file mode 100644
index 5ca6ced455..0000000000
--- a/usr/src/lib/libtermcap/common/llib-ltermcap
+++ /dev/null
@@ -1,16 +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 2011 Nexenta Systems, Inc. All rights reserved.
- */
-
-#include <termcap.h>
diff --git a/usr/src/lib/libthread/common/llib-lthread b/usr/src/lib/libthread/common/llib-lthread
deleted file mode 100644
index dc50169c18..0000000000
--- a/usr/src/lib/libthread/common/llib-lthread
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1999 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <thread.h>
-#include <pthread.h>
diff --git a/usr/src/lib/libtsnet/common/llib-ltsnet b/usr/src/lib/libtsnet/common/llib-ltsnet
deleted file mode 100644
index 4dbadf3b68..0000000000
--- a/usr/src/lib/libtsnet/common/llib-ltsnet
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libtsnet.h>
diff --git a/usr/src/lib/libtsol/common/llib-ltsol b/usr/src/lib/libtsol/common/llib-ltsol
deleted file mode 100644
index 1d4acc5a3a..0000000000
--- a/usr/src/lib/libtsol/common/llib-ltsol
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <tsol/label.h>
-#include <sys/tsol/label.h>
-#include <sys/tsol/priv.h>
-#include <sys/tsol/label_macro.h>
diff --git a/usr/src/lib/libumem/common/llib-lumem b/usr/src/lib/libumem/common/llib-lumem
deleted file mode 100644
index b00bef5b0f..0000000000
--- a/usr/src/lib/libumem/common/llib-lumem
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-/*
- * Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/vmem.h>
-#include <umem.h>
diff --git a/usr/src/lib/libuuid/common/llib-luuid b/usr/src/lib/libuuid/common/llib-luuid
deleted file mode 100644
index 04ee51367d..0000000000
--- a/usr/src/lib/libuuid/common/llib-luuid
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <sys/uuid.h>
-#include <pkginfo.h>
-
-/*
- * usr/src/lib/libuuid
- */
-/* main.c */
-void uuid_clear(uuid_t);
-int uuid_compare(uuid_t, uuid_t);
-void uuid_copy(uuid_t, uuid_t);
-void uuid_generate(uuid_t);
-void uuid_generate_random(uuid_t);
-void uuid_generate_time(uuid_t);
-int uuid_is_null(uuid_t);
-int uuid_parse(char *, uuid_t);
-time_t uuid_time(uuid_t, struct timeval *);
-void uuid_unparse(uuid_t, char *);
diff --git a/usr/src/lib/libuutil/common/llib-luutil b/usr/src/lib/libuutil/common/llib-luutil
deleted file mode 100644
index d53a365a1d..0000000000
--- a/usr/src/lib/libuutil/common/llib-luutil
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <libuutil.h>
diff --git a/usr/src/lib/libv12n/common/llib-lv12n b/usr/src/lib/libv12n/common/llib-lv12n
deleted file mode 100644
index 904f11528d..0000000000
--- a/usr/src/lib/libv12n/common/llib-lv12n
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include "libv12n.h"
diff --git a/usr/src/lib/libvolmgt/common/llib-lvolmgt b/usr/src/lib/libvolmgt/common/llib-lvolmgt
deleted file mode 100644
index 1f12243534..0000000000
--- a/usr/src/lib/libvolmgt/common/llib-lvolmgt
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <dirent.h>
-#include <string.h>
-#include <errno.h>
-#include <limits.h>
-#include <unistd.h>
-#include <volmgt.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/param.h>
-
-/* volmgt_fsi.c */
-int volmgt_acquire(char *, char *, int, char **, pid_t *);
-int volmgt_release(char *);
-
-/* volattr.c */
-char *media_getattr(char *, char *);
-int media_setattr(char *, char *, char *);
-u_longlong_t media_getid(char *);
-
-/* volname.c */
-char *media_findname(char *);
-
-/* volutil.c */
-int volmgt_check(char *);
-int volmgt_inuse(char *);
-int volmgt_ownspath(char *);
-const char *volmgt_root(void);
-int volmgt_running(void);
-char *volmgt_symdev(char *);
-char *volmgt_symname(char *);
-int volmgt_feature_enabled(char *);
diff --git a/usr/src/lib/libvrrpadm/common/llib-lvrrpadm b/usr/src/lib/libvrrpadm/common/llib-lvrrpadm
deleted file mode 100644
index 2e56d8a8ef..0000000000
--- a/usr/src/lib/libvrrpadm/common/llib-lvrrpadm
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libvrrpadm.h>
-#include <netinet/vrrp.h>
diff --git a/usr/src/lib/libvscan/common/llib-lvscan b/usr/src/lib/libvscan/common/llib-lvscan
deleted file mode 100644
index edddd485fa..0000000000
--- a/usr/src/lib/libvscan/common/llib-lvscan
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libvscan.h>
diff --git a/usr/src/lib/libwrap/llib-lwrap b/usr/src/lib/libwrap/llib-lwrap
deleted file mode 100644
index 8baf1289f8..0000000000
--- a/usr/src/lib/libwrap/llib-lwrap
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <tcpd.h>
-
-extern int hosts_access(struct request_info *);
-extern void sock_host(struct request_info *);
-extern char *eval_hostname(struct host_info *);
-extern char *eval_client(struct request_info *);
diff --git a/usr/src/lib/libxcurses/src/libc/llib-lcurses b/usr/src/lib/libxcurses/src/libc/llib-lcurses
deleted file mode 100644
index 958ff09f7f..0000000000
--- a/usr/src/lib/libxcurses/src/libc/llib-lcurses
+++ /dev/null
@@ -1,1040 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1996, by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#ident "%Z%%M% %I% %E% SMI"
-
-#include <curses.h>
-#include <term.h>
-
-/*
- * lib/libxcurses/src/libc/xcurses routines
- */
-
-/*
- * add_wch.c
- */
-int add_wch(const cchar_t *);
-int mvadd_wch(int, int, const cchar_t *);
-int mvwadd_wch(WINDOW *, int, int, const cchar_t *);
-
-/*
- * addch.c
- */
-int addch(chtype);
-int mvaddch(int, int, chtype);
-int mvwaddch(WINDOW *, int, int, chtype);
-
-/*
- * addchn.c
- */
-int addchnstr(const chtype *, int);
-int mvaddchnstr(int, int, const chtype *, int);
-int mvwaddchnstr(WINDOW *, int, int, const chtype *, int);
-int addchstr(const chtype *);
-int mvaddchstr(int, int, const chtype *);
-int mvwaddchstr(WINDOW *, int, int, const chtype *);
-int waddchstr(WINDOW *, const chtype *);
-
-/*
- * addnstr.c
- */
-int addnstr(const char *, int);
-int mvaddnstr(int, int, const char *, int);
-int mvwaddnstr(WINDOW *, int, int, const char *, int);
-int addstr(const char *);
-int mvaddstr(int, int, const char *);
-int mvwaddstr(WINDOW *, int, int, const char *);
-int waddstr(WINDOW *, const char *);
-
-/*
- * addnws.c
- */
-int addnwstr(const wchar_t *, int);
-int mvaddnwstr(int, int, const wchar_t *, int);
-int mvwaddnwstr(WINDOW *, int, int, const wchar_t *, int);
-int addwstr(const wchar_t *);
-int mvaddwstr(int, int, const wchar_t *);
-int mvwaddwstr(WINDOW *, int, int, const wchar_t *);
-int waddwstr(WINDOW *, const wchar_t *);
-
-/*
- * addwchn.c
- */
-int add_wchnstr(const cchar_t *, int);
-int mvadd_wchnstr(int, int, const cchar_t *, int);
-int mvwadd_wchnstr(WINDOW *, int, int, const cchar_t *, int);
-int add_wchstr(const cchar_t *);
-int mvadd_wchstr(int, int, const cchar_t *);
-int mvwadd_wchstr(WINDOW *, int, int, const cchar_t *);
-int wadd_wchstr(WINDOW *, const cchar_t *);
-
-/*
- * attr_on.c
- */
-int attr_on(attr_t, void *);
-int attr_off(attr_t, void *);
-int attr_set(attr_t, short, void *);
-int color_set(short, void *);
-int attr_get(attr_t *, short *, void *);
-int standout(void);
-int standend(void);
-
-/*
- * attron.c
- */
-int attron(int);
-int attroff(int);
-int attrset(int);
-chtype COLOR_PAIR(short);
-short PAIR_NUMBER(chtype);
-
-/*
- * baudrate.c
- */
-int baudrate(void);
-
-/*
- * beep.c
- */
-int beep(void);
-int flash(void);
-
-/*
- * bkgd.c
- */
-int bkgd(chtype);
-int wbkgd(WINDOW *, chtype);
-
-/*
- * bkgdset.c
- */
-int bkgdset(chtype);
-int wbkgdset(WINDOW *, chtype);
-chtype getbkgd(WINDOW *);
-
-/*
- * bkgrnd.c
- */
-int bkgrnd(const cchar_t *);
-
-/*
- * bkgrndst.c
- */
-void bkgrndset(const cchar_t *);
-void wbkgrndset(WINDOW *, const cchar_t *);
-int getbkgrnd(cchar_t *);
-int wgetbkgrnd(WINDOW *, cchar_t *);
-
-/*
- * box.c
- */
-int box(WINDOW *, chtype, chtype);
-
-/*
- * box_set.c
- */
-int box_set(WINDOW *, const cchar_t *, const cchar_t *);
-
-/*
- * brdr.c
- */
-int border(chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype);
-
-/*
- * brdr_st.c
- */
-int border_set(const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *);
-
-/*
- * cbreak.c
- */
-int cbreak(void);
-int nocbreak(void);
-int halfdelay(int);
-int raw(void);
-int noraw(void);
-
-/*
- * chgat.c
- */
-int chgat(int, attr_t, short, const void *);
-int mvchgat(int, int, int, attr_t, short, const void *);
-int mvwchgat(WINDOW *, int, int, int, attr_t, short, const void *);
-
-/*
- * clear.c
- */
-int clear(void);
-int erase(void);
-
-/*
- * clearok.c
- */
-int clearok(WINDOW *, bool);
-void immedok(WINDOW *, bool);
-int leaveok(WINDOW *, bool);
-int notimeout(WINDOW *, bool);
-int scrollok(WINDOW *, bool);
-
-/*
- * clrbot.c
- */
-int clrtobot(void);
-
-/*
- * clreol.c
- */
-int clrtoeol(void);
-
-/*
- * color.c
- */
-int start_color(void);
-int init_color(short, short, short, short);
-int init_pair(short, short, short);
-int color_content(short, short *, short *, short *);
-int pair_content(short, short *, short *);
-
-/*
- * copywin.c
- */
-int copywin(const WINDOW *, WINDOW *, int, int, int, int, int, int, int);
-
-/*
- * curs_set.c
- */
-int curs_set(int);
-
-/*
- * delay.c
- */
-int delay_output(int);
-
-/*
- * delch.c
- */
-int delch(void);
-int mvdelch(int, int);
-int mvwdelch(WINDOW *, int, int);
-
-/*
- * deleteln.c
- */
-int deleteln(void);
-int insertln(void);
-int insdelln(int);
-int wdeleteln(WINDOW *);
-int winsertln(WINDOW *);
-
-/*
- * doupdate.c
- */
-int doupdate(void);
-void idcok(WINDOW *, bool);
-int idlok(WINDOW *, bool);
-
-/*
- * dupwin.c
- */
-WINDOW *dupwin(WINDOW *);
-
-/*
- * echo_wch.c
- */
-int echo_wchar(const cchar_t *);
-int wecho_wchar(WINDOW *, const cchar_t *);
-
-/*
- * echochar.c
- */
-int echochar(chtype);
-int wechochar(WINDOW *, chtype);
-
-/*
- * endwin.c
- */
-int endwin(void);
-
-/*
- * flushinp.c
- */
-int flushinp(void);
-
-/*
- * get_wch.c
- */
-int get_wch(wint_t *);
-int mvget_wch(int , int, wint_t *);
-int mvwget_wch(WINDOW *, int, int, wint_t *);
-
-/*
- * getcchar.c
- */
-int getcchar(const cchar_t *, wchar_t *, attr_t *, short *, void *);
-
-/*
- * getch.c
- */
-int getch(void);
-int mvgetch(int, int);
-int mvwgetch(WINDOW *, int, int);
-
-/*
- * getn_ws.c
- */
-int getn_wstr(wint_t *, int);
-int mvgetn_wstr(int, int, wint_t *, int);
-int mvwgetn_wstr(WINDOW *, int, int, wint_t *, int);
-int get_wstr(wint_t *);
-int mvget_wstr(int, int, wint_t *);
-int mvwget_wstr(WINDOW *, int, int, wint_t *);
-int wget_wstr(WINDOW *, wint_t *);
-
-/*
- * getnstr.c
- */
-int getnstr(char *, int);
-int mvgetnstr(int, int, char *, int);
-int mvwgetnstr(WINDOW *, int, int, char *, int);
-int getstr(char *);
-int mvgetstr(int, int, char *);
-int mvwgetstr(WINDOW *, int, int, char *);
-int wgetstr(WINDOW *, char *);
-
-/*
- * getwin.c
- */
-WINDOW *getwin(FILE *);
-int putwin(WINDOW *, FILE *);
-
-/*
- * has.c
- */
-bool has_colors(void);
-bool has_ic(void);
-bool has_il(void);
-bool can_change_color(void);
-
-/*
- * hln.c
- */
-int hline(chtype, int);
-int mvhline(int, int, chtype, int);
-int mvwhline(WINDOW *, int, int, chtype, int);
-int vline(chtype, int);
-int mvvline(int, int, chtype, int);
-int mvwvline(WINDOW *, int, int, chtype, int);
-
-/*
- * hln_st.c
- */
-int hline_set(const cchar_t *, int);
-int mvhline_set(int, int, const cchar_t *, int);
-int mvwhline_set(WINDOW *, int, int, const cchar_t *, int);
-int vline_set(const cchar_t *, int);
-int mvvline_set(int, int, const cchar_t *, int);
-int mvwvline_set(WINDOW *, int, int, const cchar_t *, int);
-
-/*
- * in_wch.c
- */
-int in_wch(cchar_t *);
-int mvin_wch(int, int, cchar_t *);
-int mvwin_wch(WINDOW *, int, int, cchar_t *);
-
-/*
- * in_wchn.c
- */
-int in_wchnstr(cchar_t *, int);
-int mvin_wchnstr(int, int, cchar_t *, int);
-int mvwin_wchnstr(WINDOW *, int, int, cchar_t *, int);
-int in_wchstr(cchar_t *);
-int mvin_wchstr(int, int, cchar_t *);
-int mvwin_wchstr(WINDOW *, int, int, cchar_t *);
-int win_wchstr(WINDOW *, cchar_t *);
-
-/*
- * inch.c
- */
-chtype inch(void);
-chtype mvinch(int, int);
-chtype mvwinch(WINDOW *, int, int);
-
-/*
- * inchn.c
- */
-int inchnstr(chtype *, int);
-int mvinchnstr(int, int, chtype *, int);
-int mvwinchnstr(WINDOW *, int, int, chtype *, int);
-int inchstr(chtype *);
-int mvinchstr(int, int, chtype *);
-int mvwinchstr(WINDOW *, int, int, chtype *);
-int winchstr(WINDOW *, chtype *);
-
-/*
- * initscr.c
- */
-WINDOW *initscr(void);
-
-/*
- * innstr.c
- */
-int innstr(char *, int);
-int mvinnstr(int, int, char *, int);
-int mvwinnstr(WINDOW *, int, int, char *, int);
-int instr(char *);
-int mvinstr(int, int, char *);
-int mvwinstr(WINDOW *, int, int, char *);
-int winstr(WINDOW *, char *);
-
-/*
- * innwstr.c
- */
-int innwstr(wchar_t *, int);
-int mvinnwstr(int, int, wchar_t *, int);
-int mvwinnwstr(WINDOW *, int, int, wchar_t *, int);
-int inwstr(wchar_t *);
-int mvinwstr(int, int, wchar_t *);
-int mvwinwstr(WINDOW *, int, int, wchar_t *);
-int winwstr(WINDOW *, wchar_t *);
-
-/*
- * ins_nws.c
- */
-int ins_nwstr(const wchar_t *, int);
-int mvins_nwstr(int, int, const wchar_t *, int);
-int mvwins_nwstr(WINDOW *, int, int, const wchar_t *, int);
-int ins_wstr(const wchar_t *);
-int mvins_wstr(int, int, const wchar_t *);
-int mvwins_wstr(WINDOW *, int, int, const wchar_t *);
-int wins_wstr(WINDOW *, const wchar_t *);
-
-/*
- * ins_wch.c
- */
-int ins_wch(const cchar_t *);
-int mvins_wch(int, int, const cchar_t *);
-int mvwins_wch(WINDOW *, int, int, const cchar_t *);
-
-/*
- * insch.c
- */
-int insch(chtype);
-int mvinsch(int, int, chtype);
-int mvwinsch(WINDOW *, int, int, chtype);
-
-/*
- * insnstr.c
- */
-int insnstr(const char *, int);
-int mvinsnstr(int, int, const char *, int);
-int mvwinsnstr(WINDOW *, int, int, const char *, int);
-int insstr(const char *);
-int mvinsstr(int, int, const char *);
-int mvwinsstr(WINDOW *, int, int, const char *);
-int winsstr(WINDOW *, const char *);
-
-/*
- * intrflsh.c
- */
-int intrflush(WINDOW *, bool);
-
-/*
- * isendwin.c
- */
-bool isendwin(void);
-
-/*
- * key_name.c
- */
-const char *key_name(wchar_t);
-
-/*
- * keyname.c
- */
-const char *keyname(int);
-
-/*
- * keypad.c
- */
-int keypad(WINDOW *, bool);
-
-/*
- * killchar.c
- */
-int erasechar(void);
-int killchar(void);
-
-/*
- * killwch.c
- */
-int erasewchar(wchar_t *);
-int killwchar(wchar_t *);
-
-/*
- * longname.c
- */
-char *longname(void);
-char *termname(void);
-
-/*
- * meta.c
- */
-int meta(WINDOW *, bool);
-
-/*
- * move.c
- */
-int move(int, int);
-
-/*
- * mvcur.c
- */
-int mvcur(int, int, int, int);
-
-/*
- * mvwin.c
- */
-int mvwin(WINDOW *, int, int);
-int mvderwin(WINDOW *, int, int);
-
-/*
- * napms.c
- */
-int napms(int);
-
-/*
- * newpad.c
- */
-WINDOW *newpad(int, int);
-WINDOW *subpad(WINDOW *, int, int, int, int);
-
-/*
- * newterm.c
- */
-void filter(void);
-void tstp(int);
-int ripoffline(int, int (*)(WINDOW *, int));
-SCREEN *newterm(char *, FILE *, FILE *);
-void delscreen(SCREEN *);
-SCREEN *set_term(SCREEN *);
-int typeahead(int);
-
-/*
- * newwin.c
- */
-int delwin(WINDOW *);
-WINDOW *derwin(WINDOW *, int, int, int, int);
-WINDOW *newwin(int, int, int, int);
-WINDOW *subwin(WINDOW *, int, int, int, int);
-
-/*
- * noecho.c
- */
-int echo(void);
-int noecho(void);
-
-/*
- * nonl.c
- */
-int nl(void);
-int nonl(void);
-
-/*
- * overlay.c
- */
-int overlay(const WINDOW *, WINDOW *);
-int overwrite(const WINDOW *, WINDOW *);
-
-/*
- * pecho_wc.c
- */
-int pecho_wchar(WINDOW *, const cchar_t *);
-
-/*
- * pechoch.c
- */
-int pechochar(WINDOW *, chtype);
-
-/*
- * prefresh.c
- */
-int prefresh(WINDOW *, int, int, int, int, int, int);
-int pnoutrefresh(WINDOW *, int, int, int, int, int, int);
-
-/*
- * printw.c
- */
-int printw(const char *, ...);
-int mvprintw(int, int, const char *, ...);
-int mvwprintw(WINDOW *, int, int, const char *, ...);
-int wprintw(WINDOW *, const char *, ...);
-
-/*
- * qiflush.c
- */
-void qiflush(void);
-void noqiflush(void);
-
-/*
- * redraw.c
- */
-int redrawwin(WINDOW *);
-
-/*
- * refresh.c
- */
-int refresh(void);
-
-/*
- * savetty.c
- */
-int savetty(void);
-int resetty(void);
-
-/*
- * scanw.c
- */
-int scanw(const char *, ...);
-int mvscanw(int, int, const char *, ...);
-int mvwscanw(WINDOW *, int, int, const char *, ...);
-int wscanw(WINDOW *, const char *, ...);
-
-/*
- * scr_dump.c
- */
-int scr_dump(const char *);
-int scr_restore(const char *);
-int scr_init(const char *);
-int scr_set(const char *);
-
-/*
- * scrl.c
- */
-int scroll(WINDOW *);
-int scrl(int);
-
-/*
- * scrreg.c
- */
-int setscrreg(int, int);
-
-/*
- * setcchar.c
- */
-int setcchar(cchar_t *, const wchar_t *, attr_t, short, const void *);
-
-/*
- * setup.c
- */
-void use_env(bool);
-int setupterm(const char *, int, int *);
-int del_curterm(TERMINAL *);
-TERMINAL *set_curterm(TERMINAL *);
-int restartterm(const char *, int, int *);
-int def_shell_mode(void);
-int def_prog_mode(void);
-int reset_shell_mode(void);
-int reset_prog_mode(void);
-
-/*
- * slk.c
- */
-int slk_init(int);
-int slk_attron(const chtype);
-int slk_attroff(const chtype);
-int slk_attrset(const chtype);
-int slk_attr_off(const attr_t, void *);
-int slk_attr_on(const attr_t, void *);
-int slk_attr_set(const attr_t, short, void *);
-int slk_color(short);
-int slk_touch(void);
-int slk_clear(void);
-int slk_restore(void);
-int slk_noutrefresh(void);
-int slk_refresh(void);
-char *slk_label(int);
-int slk_set(int, const char *, int);
-int slk_wset(int, const wchar_t *, int);
-int slk_color_set(short);
-
-/*
- * termattr.c
- */
-chtype termattrs(void);
-attr_t term_attrs(void);
-
-/*
- * tgetent.c
- */
-int tgetent(char *, char *);
-
-/*
- * tgetflag.c
- */
-int tgetflag(const char *);
-
-/*
- * tgetnum.c
- */
-int tgetnum(const char *);
-
-/*
- * tgetstr.c
- */
-char *tgetstr(const char *, char **);
-
-/*
- * tgoto.c
- */
-char *tgoto(const char *, int, int);
-
-/*
- * tigetfla.c
- */
-int tigetflag(const char *);
-
-/*
- * tigetnum.c
- */
-int tigetnum(const char *);
-
-/*
- * tigetstr.c
- */
-char *tigetstr(const char *);
-
-/*
- * timeout.c
- */
-int nodelay(WINDOW *, bool);
-void timeout(int);
-
-/*
- * touched.c
- */
-bool is_linetouched(WINDOW *, int);
-bool is_wintouched(WINDOW *);
-
-/*
- * touchwin.c
- */
-int touchwin(WINDOW *);
-int untouchwin(WINDOW *);
-int touchline(WINDOW *, int, int);
-
-/*
- * unctrl.c
- */
-const char *unctrl(chtype);
-
-/*
- * vid_attr.c
- */
-int vid_attr(attr_t, short, void *);
-
-/*
- * vid_puts.c
- */
-int vid_puts(attr_t, short, void *, int (*)(int));
-
-/*
- * vidattr.c
- */
-int vidattr(chtype);
-int vidputs(chtype, int (*)(int));
-
-/*
- * vw_print.c
- */
-#if defined(sun)
-int vw_printw(WINDOW *, const char *, __va_list);
-#else
-int vw_printw(WINDOW *, const char *, void *);
-#endif
-
-/*
- * vw_scanw.c
- */
-#if defined(sun)
-int vw_scanw(WINDOW *, const char *, __va_list);
-#else
-int vw_scanw(WINDOW *, const char *, void *);
-#endif
-
-/*
- * vwprintw.c
- */
-#if defined(sun)
-int vwprintw(WINDOW *, const char *, __va_list);
-#else
-int vwprintw(WINDOW *, const char *, void *);
-#endif
-
-/*
- * vwscanw.c
- */
-#if defined(sun)
-int vwscanw(WINDOW *, const char *, __va_list);
-#else
-int vwscanw(WINDOW *, const char *, void *);
-#endif
-
-/*
- * wadd_wch.c
- */
-int wadd_wch(WINDOW *, const cchar_t *);
-
-/*
- * waddch.c
- */
-int waddch(WINDOW *, chtype);
-
-/*
- * waddchn.c
- */
-int waddchnstr(WINDOW *, const chtype *, int);
-
-/*
- * waddnstr.c
- */
-int waddnstr(WINDOW *, const char *, int);
-
-/*
- * waddnws.c
- */
-int waddnwstr(WINDOW *, const wchar_t *, int);
-
-/*
- * waddwchn.c
- */
-int wadd_wchnstr(WINDOW *, const cchar_t *, int);
-
-/*
- * wattr_on.c
- */
-int wattr_on(WINDOW *, attr_t, void *);
-int wattr_off(WINDOW *, attr_t, void *);
-int wattr_set(WINDOW *, attr_t, short, void *);
-int wattr_get(WINDOW *, attr_t *, short *, void *);
-int wcolor_set(WINDOW *, short, void *);
-int wstandout(WINDOW *);
-int wstandend(WINDOW *);
-
-/*
- * wattron.c
- */
-int wattron(WINDOW *, int);
-int wattroff(WINDOW *, int);
-int wattrset(WINDOW *, int);
-
-/*
- * wbkgrnd.c
- */
-int wbkgrnd(WINDOW *, const cchar_t *);
-
-/*
- * wbrdr.c
- */
-int wborder(WINDOW *, chtype, chtype, chtype, chtype,
- chtype, chtype, chtype, chtype);
-
-/*
- * wbrdr_st.c
- */
-int wborder_set(WINDOW *, const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *);
-
-/*
- * wchgat.c
- */
-int wchgat(WINDOW *, int, attr_t, short, const void *);
-
-/*
- * wclear.c
- */
-int wclear(WINDOW *);
-int werase(WINDOW *);
-
-/*
- * wclrbot.c
- */
-int wclrtobot(WINDOW *);
-
-/*
- * wclreol.c
- */
-int wclrtoeol(WINDOW *);
-
-/*
- * wdelch.c
- */
-int wdelch(WINDOW *);
-
-/*
- * wget_wch.c
- */
-int unget_wch(const wchar_t);
-int wget_wch(WINDOW *, wint_t *);
-
-/*
- * wgetch.c
- */
-int ungetch(int);
-int wgetch(WINDOW *);
-
-/*
- * wgetn_ws.c
- */
-int wgetnstr(WINDOW *, char *, int);
-int wgetn_wstr(WINDOW *, wint_t *, int);
-
-/*
- * whln.c
- */
-int whline(WINDOW *, chtype, int);
-int wvline(WINDOW *, chtype, int);
-
-/*
- * whln_st.c
- */
-int whline_set(WINDOW *, const cchar_t *, int);
-int wvline_set(WINDOW *, const cchar_t *, int);
-
-/*
- * win_wch.c
- */
-int win_wch(WINDOW *, cchar_t *);
-
-/*
- * win_wchn.c
- */
-int win_wchnstr(WINDOW *, cchar_t *, int);
-
-/*
- * winch.c
- */
-chtype winch(WINDOW *);
-
-/*
- * winchn.c
- */
-int winchnstr(WINDOW *, chtype *, int);
-
-/*
- * winnstr.c
- */
-int winnstr(WINDOW *, char *, int);
-
-/*
- * winnwstr.c
- */
-int winnwstr(WINDOW *, wchar_t *, int);
-
-/*
- * wins_nws.c
- */
-int wins_nwstr(WINDOW *, const wchar_t *, int);
-
-/*
- * wins_wch.c
- */
-int wins_wch(WINDOW *, const cchar_t *);
-
-/*
- * winsch.c
- */
-int winsch(WINDOW *, chtype);
-
-/*
- * winsdel.c
- */
-int winsdelln(WINDOW *, int);
-
-/*
- * winsnstr.c
- */
-int winsnstr(WINDOW *, const char *, int);
-
-/*
- * wmove.c
- */
-int wmove(WINDOW *, int, int);
-
-/*
- * wredraw.c
- */
-int wredrawln(WINDOW *, int, int);
-
-/*
- * wrefresh.c
- */
-int wrefresh(WINDOW *);
-int wnoutrefresh(WINDOW *);
-
-/*
- * wscrl.c
- */
-int wscrl(WINDOW *, int);
-
-/*
- * wscrreg.c
- */
-int wsetscrreg(WINDOW *, int, int);
-
-/*
- * wsyncdn.c
- */
-void wsyncdown(WINDOW *);
-
-/*
- * wsyncup.c
- */
-int syncok(WINDOW *, bool);
-void wsyncup(WINDOW *);
-void wcursyncup(WINDOW *);
-
-/*
- * wtimeout.c
- */
-void wtimeout(WINDOW *, int);
-
-/*
- * wtouchln.c
- */
-int wtouchln(WINDOW *, int, int, int);
-
-/*
- * wunctrl.c
- */
-const wchar_t *wunctrl(const cchar_t *);
diff --git a/usr/src/lib/libxcurses/src/libc/llib-lxcurses b/usr/src/lib/libxcurses/src/libc/llib-lxcurses
deleted file mode 100644
index 6e12cda501..0000000000
--- a/usr/src/lib/libxcurses/src/libc/llib-lxcurses
+++ /dev/null
@@ -1,1024 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1996, by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#ident "%Z%%M% %I% %E% SMI"
-
-#include <curses.h>
-#include <term.h>
-
-/*
- * lib/libxcurses/src/libc/xcurses routines
- */
-
-/*
- * add_wch.c
- */
-int add_wch(const cchar_t *);
-int mvadd_wch(int, int, const cchar_t *);
-int mvwadd_wch(WINDOW *, int, int, const cchar_t *);
-
-/*
- * addch.c
- */
-int addch(chtype);
-int mvaddch(int, int, chtype);
-int mvwaddch(WINDOW *, int, int, chtype);
-
-/*
- * addchn.c
- */
-int addchnstr(const chtype *, int);
-int mvaddchnstr(int, int, const chtype *, int);
-int mvwaddchnstr(WINDOW *, int, int, const chtype *, int);
-int addchstr(const chtype *);
-int mvaddchstr(int, int, const chtype *);
-int mvwaddchstr(WINDOW *, int, int, const chtype *);
-int waddchstr(WINDOW *, const chtype *);
-
-/*
- * addnstr.c
- */
-int addnstr(const char *, int);
-int mvaddnstr(int, int, const char *, int);
-int mvwaddnstr(WINDOW *, int, int, const char *, int);
-int addstr(const char *);
-int mvaddstr(int, int, const char *);
-int mvwaddstr(WINDOW *, int, int, const char *);
-int waddstr(WINDOW *, const char *);
-
-/*
- * addnws.c
- */
-int addnwstr(const wchar_t *, int);
-int mvaddnwstr(int, int, const wchar_t *, int);
-int mvwaddnwstr(WINDOW *, int, int, const wchar_t *, int);
-int addwstr(const wchar_t *);
-int mvaddwstr(int, int, const wchar_t *);
-int mvwaddwstr(WINDOW *, int, int, const wchar_t *);
-int waddwstr(WINDOW *, const wchar_t *);
-
-/*
- * addwchn.c
- */
-int add_wchnstr(const cchar_t *, int);
-int mvadd_wchnstr(int, int, const cchar_t *, int);
-int mvwadd_wchnstr(WINDOW *, int, int, const cchar_t *, int);
-int add_wchstr(const cchar_t *);
-int mvadd_wchstr(int, int, const cchar_t *);
-int mvwadd_wchstr(WINDOW *, int, int, const cchar_t *);
-int wadd_wchstr(WINDOW *, const cchar_t *);
-
-/*
- * attr_on.c
- */
-int attr_on(attr_t, void *);
-int attr_off(attr_t, void *);
-int attr_set(attr_t, short, void *);
-int color_set(short, void *);
-int attr_get(attr_t *, short *, void *);
-int standout(void);
-int standend(void);
-
-/*
- * attron.c
- */
-int attron(int);
-int attroff(int);
-int attrset(int);
-chtype COLOR_PAIR(short);
-short PAIR_NUMBER(chtype);
-
-/*
- * baudrate.c
- */
-int baudrate(void);
-
-/*
- * beep.c
- */
-int beep(void);
-int flash(void);
-
-/*
- * bkgd.c
- */
-int bkgd(chtype);
-int wbkgd(WINDOW *, chtype);
-
-/*
- * bkgdset.c
- */
-int bkgdset(chtype);
-int wbkgdset(WINDOW *, chtype);
-chtype getbkgd(WINDOW *);
-
-/*
- * bkgrnd.c
- */
-int bkgrnd(const cchar_t *);
-
-/*
- * bkgrndst.c
- */
-void bkgrndset(const cchar_t *);
-void wbkgrndset(WINDOW *, const cchar_t *);
-int getbkgrnd(cchar_t *);
-int wgetbkgrnd(WINDOW *, cchar_t *);
-
-/*
- * box.c
- */
-int box(WINDOW *, chtype, chtype);
-
-/*
- * box_set.c
- */
-int box_set(WINDOW *, const cchar_t *, const cchar_t *);
-
-/*
- * brdr.c
- */
-int border(chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype);
-
-/*
- * brdr_st.c
- */
-int border_set(const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *);
-
-/*
- * cbreak.c
- */
-int cbreak(void);
-int nocbreak(void);
-int halfdelay(int);
-int raw(void);
-int noraw(void);
-
-/*
- * chgat.c
- */
-int chgat(int, attr_t, short, const void *);
-int mvchgat(int, int, int, attr_t, short, const void *);
-int mvwchgat(WINDOW *, int, int, int, attr_t, short, const void *);
-
-/*
- * clear.c
- */
-int clear(void);
-int erase(void);
-
-/*
- * clearok.c
- */
-int clearok(WINDOW *, bool);
-void immedok(WINDOW *, bool);
-int leaveok(WINDOW *, bool);
-int notimeout(WINDOW *, bool);
-int scrollok(WINDOW *, bool);
-
-/*
- * clrbot.c
- */
-int clrtobot(void);
-
-/*
- * clreol.c
- */
-int clrtoeol(void);
-
-/*
- * color.c
- */
-int start_color(void);
-int init_color(short, short, short, short);
-int init_pair(short, short, short);
-int color_content(short, short *, short *, short *);
-int pair_content(short, short *, short *);
-
-/*
- * copywin.c
- */
-int copywin(const WINDOW *, WINDOW *, int, int, int, int, int, int, int);
-
-/*
- * curs_set.c
- */
-int curs_set(int);
-
-/*
- * delay.c
- */
-int delay_output(int);
-
-/*
- * delch.c
- */
-int delch(void);
-int mvdelch(int, int);
-int mvwdelch(WINDOW *, int, int);
-
-/*
- * deleteln.c
- */
-int deleteln(void);
-int insertln(void);
-int insdelln(int);
-int wdeleteln(WINDOW *);
-int winsertln(WINDOW *);
-
-/*
- * doupdate.c
- */
-int doupdate(void);
-void idcok(WINDOW *, bool);
-int idlok(WINDOW *, bool);
-
-/*
- * dupwin.c
- */
-WINDOW *dupwin(WINDOW *);
-
-/*
- * echo_wch.c
- */
-int echo_wchar(const cchar_t *);
-int wecho_wchar(WINDOW *, const cchar_t *);
-
-/*
- * echochar.c
- */
-int echochar(chtype);
-int wechochar(WINDOW *, chtype);
-
-/*
- * endwin.c
- */
-int endwin(void);
-
-/*
- * flushinp.c
- */
-int flushinp(void);
-
-/*
- * get_wch.c
- */
-int get_wch(wint_t *);
-int mvget_wch(int , int, wint_t *);
-int mvwget_wch(WINDOW *, int, int, wint_t *);
-
-/*
- * getcchar.c
- */
-int getcchar(const cchar_t *, wchar_t *, attr_t *, short *, void *);
-
-/*
- * getch.c
- */
-int getch(void);
-int mvgetch(int, int);
-int mvwgetch(WINDOW *, int, int);
-
-/*
- * getn_ws.c
- */
-int getn_wstr(wint_t *, int);
-int mvgetn_wstr(int, int, wint_t *, int);
-int mvwgetn_wstr(WINDOW *, int, int, wint_t *, int);
-int get_wstr(wint_t *);
-int mvget_wstr(int, int, wint_t *);
-int mvwget_wstr(WINDOW *, int, int, wint_t *);
-int wget_wstr(WINDOW *, wint_t *);
-
-/*
- * getnstr.c
- */
-int getnstr(char *, int);
-int mvgetnstr(int, int, char *, int);
-int mvwgetnstr(WINDOW *, int, int, char *, int);
-int getstr(char *);
-int mvgetstr(int, int, char *);
-int mvwgetstr(WINDOW *, int, int, char *);
-int wgetstr(WINDOW *, char *);
-
-/*
- * getwin.c
- */
-WINDOW *getwin(FILE *);
-int putwin(WINDOW *, FILE *);
-
-/*
- * has.c
- */
-bool has_colors(void);
-bool has_ic(void);
-bool has_il(void);
-bool can_change_color(void);
-
-/*
- * hln.c
- */
-int hline(chtype, int);
-int mvhline(int, int, chtype, int);
-int mvwhline(WINDOW *, int, int, chtype, int);
-int vline(chtype, int);
-int mvvline(int, int, chtype, int);
-int mvwvline(WINDOW *, int, int, chtype, int);
-
-/*
- * hln_st.c
- */
-int hline_set(const cchar_t *, int);
-int mvhline_set(int, int, const cchar_t *, int);
-int mvwhline_set(WINDOW *, int, int, const cchar_t *, int);
-int vline_set(const cchar_t *, int);
-int mvvline_set(int, int, const cchar_t *, int);
-int mvwvline_set(WINDOW *, int, int, const cchar_t *, int);
-
-/*
- * in_wch.c
- */
-int in_wch(cchar_t *);
-int mvin_wch(int, int, cchar_t *);
-int mvwin_wch(WINDOW *, int, int, cchar_t *);
-
-/*
- * in_wchn.c
- */
-int in_wchnstr(cchar_t *, int);
-int mvin_wchnstr(int, int, cchar_t *, int);
-int mvwin_wchnstr(WINDOW *, int, int, cchar_t *, int);
-int in_wchstr(cchar_t *);
-int mvin_wchstr(int, int, cchar_t *);
-int mvwin_wchstr(WINDOW *, int, int, cchar_t *);
-int win_wchstr(WINDOW *, cchar_t *);
-
-/*
- * inch.c
- */
-chtype inch(void);
-chtype mvinch(int, int);
-chtype mvwinch(WINDOW *, int, int);
-
-/*
- * inchn.c
- */
-int inchnstr(chtype *, int);
-int mvinchnstr(int, int, chtype *, int);
-int mvwinchnstr(WINDOW *, int, int, chtype *, int);
-int inchstr(chtype *);
-int mvinchstr(int, int, chtype *);
-int mvwinchstr(WINDOW *, int, int, chtype *);
-int winchstr(WINDOW *, chtype *);
-
-/*
- * initscr.c
- */
-WINDOW *initscr(void);
-
-/*
- * innstr.c
- */
-int innstr(char *, int);
-int mvinnstr(int, int, char *, int);
-int mvwinnstr(WINDOW *, int, int, char *, int);
-int instr(char *);
-int mvinstr(int, int, char *);
-int mvwinstr(WINDOW *, int, int, char *);
-int winstr(WINDOW *, char *);
-
-/*
- * innwstr.c
- */
-int innwstr(wchar_t *, int);
-int mvinnwstr(int, int, wchar_t *, int);
-int mvwinnwstr(WINDOW *, int, int, wchar_t *, int);
-int inwstr(wchar_t *);
-int mvinwstr(int, int, wchar_t *);
-int mvwinwstr(WINDOW *, int, int, wchar_t *);
-int winwstr(WINDOW *, wchar_t *);
-
-/*
- * ins_nws.c
- */
-int ins_nwstr(const wchar_t *, int);
-int mvins_nwstr(int, int, const wchar_t *, int);
-int mvwins_nwstr(WINDOW *, int, int, const wchar_t *, int);
-int ins_wstr(const wchar_t *);
-int mvins_wstr(int, int, const wchar_t *);
-int mvwins_wstr(WINDOW *, int, int, const wchar_t *);
-int wins_wstr(WINDOW *, const wchar_t *);
-
-/*
- * ins_wch.c
- */
-int ins_wch(const cchar_t *);
-int mvins_wch(int, int, const cchar_t *);
-int mvwins_wch(WINDOW *, int, int, const cchar_t *);
-
-/*
- * insch.c
- */
-int insch(chtype);
-int mvinsch(int, int, chtype);
-int mvwinsch(WINDOW *, int, int, chtype);
-
-/*
- * insnstr.c
- */
-int insnstr(const char *, int);
-int mvinsnstr(int, int, const char *, int);
-int mvwinsnstr(WINDOW *, int, int, const char *, int);
-int insstr(const char *);
-int mvinsstr(int, int, const char *);
-int mvwinsstr(WINDOW *, int, int, const char *);
-int winsstr(WINDOW *, const char *);
-
-/*
- * intrflsh.c
- */
-int intrflush(WINDOW *, bool);
-
-/*
- * isendwin.c
- */
-bool isendwin(void);
-
-/*
- * key_name.c
- */
-const char *key_name(wchar_t);
-
-/*
- * keyname.c
- */
-const char *keyname(int);
-
-/*
- * keypad.c
- */
-int keypad(WINDOW *, bool);
-
-/*
- * killchar.c
- */
-int erasechar(void);
-int killchar(void);
-
-/*
- * killwch.c
- */
-int erasewchar(wchar_t *);
-int killwchar(wchar_t *);
-
-/*
- * longname.c
- */
-char *longname(void);
-char *termname(void);
-
-/*
- * meta.c
- */
-int meta(WINDOW *, bool);
-
-/*
- * move.c
- */
-int move(int, int);
-
-/*
- * mvcur.c
- */
-int mvcur(int, int, int, int);
-
-/*
- * mvwin.c
- */
-int mvwin(WINDOW *, int, int);
-int mvderwin(WINDOW *, int, int);
-
-/*
- * napms.c
- */
-int napms(int);
-
-/*
- * newpad.c
- */
-WINDOW *newpad(int, int);
-WINDOW *subpad(WINDOW *, int, int, int, int);
-
-/*
- * newterm.c
- */
-void filter(void);
-void tstp(int);
-int ripoffline(int, int (*)(WINDOW *, int));
-SCREEN *newterm(char *, FILE *, FILE *);
-void delscreen(SCREEN *);
-SCREEN *set_term(SCREEN *);
-int typeahead(int);
-
-/*
- * newwin.c
- */
-int delwin(WINDOW *);
-WINDOW *derwin(WINDOW *, int, int, int, int);
-WINDOW *newwin(int, int, int, int);
-WINDOW *subwin(WINDOW *, int, int, int, int);
-
-/*
- * noecho.c
- */
-int echo(void);
-int noecho(void);
-
-/*
- * nonl.c
- */
-int nl(void);
-int nonl(void);
-
-/*
- * overlay.c
- */
-int overlay(const WINDOW *, WINDOW *);
-int overwrite(const WINDOW *, WINDOW *);
-
-/*
- * pecho_wc.c
- */
-int pecho_wchar(WINDOW *, const cchar_t *);
-
-/*
- * pechoch.c
- */
-int pechochar(WINDOW *, chtype);
-
-/*
- * prefresh.c
- */
-int prefresh(WINDOW *, int, int, int, int, int, int);
-int pnoutrefresh(WINDOW *, int, int, int, int, int, int);
-
-/*
- * printw.c
- */
-int printw(const char *, ...);
-int mvprintw(int, int, const char *, ...);
-int mvwprintw(WINDOW *, int, int, const char *, ...);
-int wprintw(WINDOW *, const char *, ...);
-
-/*
- * qiflush.c
- */
-void qiflush(void);
-void noqiflush(void);
-
-/*
- * redraw.c
- */
-int redrawwin(WINDOW *);
-
-/*
- * refresh.c
- */
-int refresh(void);
-
-/*
- * savetty.c
- */
-int savetty(void);
-int resetty(void);
-
-/*
- * scanw.c
- */
-int scanw(const char *, ...);
-int mvscanw(int, int, const char *, ...);
-int mvwscanw(WINDOW *, int, int, const char *, ...);
-int wscanw(WINDOW *, const char *, ...);
-
-/*
- * scr_dump.c
- */
-int scr_dump(const char *);
-int scr_restore(const char *);
-int scr_init(const char *);
-int scr_set(const char *);
-
-/*
- * scrl.c
- */
-int scroll(WINDOW *);
-int scrl(int);
-
-/*
- * scrreg.c
- */
-int setscrreg(int, int);
-
-/*
- * setcchar.c
- */
-int setcchar(cchar_t *, const wchar_t *, attr_t, short, const void *);
-
-/*
- * setup.c
- */
-void use_env(bool);
-int setupterm(const char *, int, int *);
-int del_curterm(TERMINAL *);
-TERMINAL *set_curterm(TERMINAL *);
-int restartterm(const char *, int, int *);
-int def_shell_mode(void);
-int def_prog_mode(void);
-int reset_shell_mode(void);
-int reset_prog_mode(void);
-
-/*
- * slk.c
- */
-int slk_init(int);
-int slk_attron(const chtype);
-int slk_attroff(const chtype);
-int slk_attrset(const chtype);
-int slk_attr_off(const attr_t, void *);
-int slk_attr_on(const attr_t, void *);
-int slk_attr_set(const attr_t, short, void *);
-int slk_color(short);
-int slk_touch(void);
-int slk_clear(void);
-int slk_restore(void);
-int slk_noutrefresh(void);
-int slk_refresh(void);
-char *slk_label(int);
-int slk_set(int, const char *, int);
-int slk_wset(int, const wchar_t *, int);
-int slk_color_set(short);
-
-/*
- * termattr.c
- */
-chtype termattrs(void);
-attr_t term_attrs(void);
-
-/*
- * tgetent.c
- */
-int tgetent(char *, char *);
-
-/*
- * tgetflag.c
- */
-int tgetflag(const char *);
-
-/*
- * tgetnum.c
- */
-int tgetnum(const char *);
-
-/*
- * tgetstr.c
- */
-char *tgetstr(const char *, char **);
-
-/*
- * tgoto.c
- */
-char *tgoto(const char *, int, int);
-
-/*
- * tigetfla.c
- */
-int tigetflag(const char *);
-
-/*
- * tigetnum.c
- */
-int tigetnum(const char *);
-
-/*
- * tigetstr.c
- */
-char *tigetstr(const char *);
-
-/*
- * timeout.c
- */
-int nodelay(WINDOW *, bool);
-void timeout(int);
-
-/*
- * touched.c
- */
-bool is_linetouched(WINDOW *, int);
-bool is_wintouched(WINDOW *);
-
-/*
- * touchwin.c
- */
-int touchwin(WINDOW *);
-int untouchwin(WINDOW *);
-int touchline(WINDOW *, int, int);
-
-/*
- * unctrl.c
- */
-const char *unctrl(chtype);
-
-/*
- * vid_attr.c
- */
-int vid_attr(attr_t, short, void *);
-
-/*
- * vid_puts.c
- */
-int vid_puts(attr_t, short, void *, int (*)(int));
-
-/*
- * vidattr.c
- */
-int vidattr(chtype);
-int vidputs(chtype, int (*)(int));
-
-/*
- * vw_print.c
- */
-int vw_printw(WINDOW *, const char *, void *);
-
-/*
- * vw_scanw.c
- */
-int vw_scanw(WINDOW *, const char *, void *);
-
-/*
- * vwprintw.c
- */
-int vwprintw(WINDOW *, const char *, void *);
-
-/*
- * vwscanw.c
- */
-int vwscanw(WINDOW *, const char *, void *);
-
-/*
- * wadd_wch.c
- */
-int wadd_wch(WINDOW *, const cchar_t *);
-
-/*
- * waddch.c
- */
-int waddch(WINDOW *, chtype);
-
-/*
- * waddchn.c
- */
-int waddchnstr(WINDOW *, const chtype *, int);
-
-/*
- * waddnstr.c
- */
-int waddnstr(WINDOW *, const char *, int);
-
-/*
- * waddnws.c
- */
-int waddnwstr(WINDOW *, const wchar_t *, int);
-
-/*
- * waddwchn.c
- */
-int wadd_wchnstr(WINDOW *, const cchar_t *, int);
-
-/*
- * wattr_on.c
- */
-int wattr_on(WINDOW *, attr_t, void *);
-int wattr_off(WINDOW *, attr_t, void *);
-int wattr_set(WINDOW *, attr_t, short, void *);
-int wattr_get(WINDOW *, attr_t *, short *, void *);
-int wcolor_set(WINDOW *, short, void *);
-int wstandout(WINDOW *);
-int wstandend(WINDOW *);
-
-/*
- * wattron.c
- */
-int wattron(WINDOW *, int);
-int wattroff(WINDOW *, int);
-int wattrset(WINDOW *, int);
-
-/*
- * wbkgrnd.c
- */
-int wbkgrnd(WINDOW *, const cchar_t *);
-
-/*
- * wbrdr.c
- */
-int wborder(WINDOW *, chtype, chtype, chtype, chtype,
- chtype, chtype, chtype, chtype);
-
-/*
- * wbrdr_st.c
- */
-int wborder_set(WINDOW *, const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *);
-
-/*
- * wchgat.c
- */
-int wchgat(WINDOW *, int, attr_t, short, const void *);
-
-/*
- * wclear.c
- */
-int wclear(WINDOW *);
-int werase(WINDOW *);
-
-/*
- * wclrbot.c
- */
-int wclrtobot(WINDOW *);
-
-/*
- * wclreol.c
- */
-int wclrtoeol(WINDOW *);
-
-/*
- * wdelch.c
- */
-int wdelch(WINDOW *);
-
-/*
- * wget_wch.c
- */
-int unget_wch(const wchar_t);
-int wget_wch(WINDOW *, wint_t *);
-
-/*
- * wgetch.c
- */
-int ungetch(int);
-int wgetch(WINDOW *);
-
-/*
- * wgetn_ws.c
- */
-int wgetnstr(WINDOW *, char *, int);
-int wgetn_wstr(WINDOW *, wint_t *, int);
-
-/*
- * whln.c
- */
-int whline(WINDOW *, chtype, int);
-int wvline(WINDOW *, chtype, int);
-
-/*
- * whln_st.c
- */
-int whline_set(WINDOW *, const cchar_t *, int);
-int wvline_set(WINDOW *, const cchar_t *, int);
-
-/*
- * win_wch.c
- */
-int win_wch(WINDOW *, cchar_t *);
-
-/*
- * win_wchn.c
- */
-int win_wchnstr(WINDOW *, cchar_t *, int);
-
-/*
- * winch.c
- */
-chtype winch(WINDOW *);
-
-/*
- * winchn.c
- */
-int winchnstr(WINDOW *, chtype *, int);
-
-/*
- * winnstr.c
- */
-int winnstr(WINDOW *, char *, int);
-
-/*
- * winnwstr.c
- */
-int winnwstr(WINDOW *, wchar_t *, int);
-
-/*
- * wins_nws.c
- */
-int wins_nwstr(WINDOW *, const wchar_t *, int);
-
-/*
- * wins_wch.c
- */
-int wins_wch(WINDOW *, const cchar_t *);
-
-/*
- * winsch.c
- */
-int winsch(WINDOW *, chtype);
-
-/*
- * winsdel.c
- */
-int winsdelln(WINDOW *, int);
-
-/*
- * winsnstr.c
- */
-int winsnstr(WINDOW *, const char *, int);
-
-/*
- * wmove.c
- */
-int wmove(WINDOW *, int, int);
-
-/*
- * wredraw.c
- */
-int wredrawln(WINDOW *, int, int);
-
-/*
- * wrefresh.c
- */
-int wrefresh(WINDOW *);
-int wnoutrefresh(WINDOW *);
-
-/*
- * wscrl.c
- */
-int wscrl(WINDOW *, int);
-
-/*
- * wscrreg.c
- */
-int wsetscrreg(WINDOW *, int, int);
-
-/*
- * wsyncdn.c
- */
-void wsyncdown(WINDOW *);
-
-/*
- * wsyncup.c
- */
-int syncok(WINDOW *, bool);
-void wsyncup(WINDOW *);
-void wcursyncup(WINDOW *);
-
-/*
- * wtimeout.c
- */
-void wtimeout(WINDOW *, int);
-
-/*
- * wtouchln.c
- */
-int wtouchln(WINDOW *, int, int, int);
-
-/*
- * wunctrl.c
- */
-const wchar_t *wunctrl(const cchar_t *);
diff --git a/usr/src/lib/libxcurses2/src/libc/llib-lcurses b/usr/src/lib/libxcurses2/src/libc/llib-lcurses
deleted file mode 100644
index 082dd7f8c6..0000000000
--- a/usr/src/lib/libxcurses2/src/libc/llib-lcurses
+++ /dev/null
@@ -1,1024 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1996-1998 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <curses.h>
-#include <term.h>
-
-/*
- * lib/libxcurses/src/libc/xcurses routines
- */
-
-/*
- * add_wch.c
- */
-int add_wch(const cchar_t *);
-int mvadd_wch(int, int, const cchar_t *);
-int mvwadd_wch(WINDOW *, int, int, const cchar_t *);
-
-/*
- * addch.c
- */
-int addch(chtype);
-int mvaddch(int, int, chtype);
-int mvwaddch(WINDOW *, int, int, chtype);
-
-/*
- * addchn.c
- */
-int addchnstr(const chtype *, int);
-int mvaddchnstr(int, int, const chtype *, int);
-int mvwaddchnstr(WINDOW *, int, int, const chtype *, int);
-int addchstr(const chtype *);
-int mvaddchstr(int, int, const chtype *);
-int mvwaddchstr(WINDOW *, int, int, const chtype *);
-int waddchstr(WINDOW *, const chtype *);
-
-/*
- * addnstr.c
- */
-int addnstr(const char *, int);
-int mvaddnstr(int, int, const char *, int);
-int mvwaddnstr(WINDOW *, int, int, const char *, int);
-int addstr(const char *);
-int mvaddstr(int, int, const char *);
-int mvwaddstr(WINDOW *, int, int, const char *);
-int waddstr(WINDOW *, const char *);
-
-/*
- * addnws.c
- */
-int addnwstr(const wchar_t *, int);
-int mvaddnwstr(int, int, const wchar_t *, int);
-int mvwaddnwstr(WINDOW *, int, int, const wchar_t *, int);
-int addwstr(const wchar_t *);
-int mvaddwstr(int, int, const wchar_t *);
-int mvwaddwstr(WINDOW *, int, int, const wchar_t *);
-int waddwstr(WINDOW *, const wchar_t *);
-
-/*
- * addwchn.c
- */
-int add_wchnstr(const cchar_t *, int);
-int mvadd_wchnstr(int, int, const cchar_t *, int);
-int mvwadd_wchnstr(WINDOW *, int, int, const cchar_t *, int);
-int add_wchstr(const cchar_t *);
-int mvadd_wchstr(int, int, const cchar_t *);
-int mvwadd_wchstr(WINDOW *, int, int, const cchar_t *);
-int wadd_wchstr(WINDOW *, const cchar_t *);
-
-/*
- * attr_on.c
- */
-int attr_on(attr_t, void *);
-int attr_off(attr_t, void *);
-int attr_set(attr_t, short, void *);
-int color_set(short, void *);
-int attr_get(attr_t *, short *, void *);
-int standout(void);
-int standend(void);
-
-/*
- * attron.c
- */
-int attron(int);
-int attroff(int);
-int attrset(int);
-int COLOR_PAIR(int);
-int PAIR_NUMBER(int);
-
-/*
- * baudrate.c
- */
-int baudrate(void);
-
-/*
- * beep.c
- */
-int beep(void);
-int flash(void);
-
-/*
- * bkgd.c
- */
-int bkgd(chtype);
-int wbkgd(WINDOW *, chtype);
-
-/*
- * bkgdset.c
- */
-void bkgdset(chtype);
-void wbkgdset(WINDOW *, chtype);
-chtype getbkgd(WINDOW *);
-
-/*
- * bkgrnd.c
- */
-int bkgrnd(const cchar_t *);
-
-/*
- * bkgrndst.c
- */
-void bkgrndset(const cchar_t *);
-void wbkgrndset(WINDOW *, const cchar_t *);
-int getbkgrnd(cchar_t *);
-int wgetbkgrnd(WINDOW *, cchar_t *);
-
-/*
- * box.c
- */
-int box(WINDOW *, chtype, chtype);
-
-/*
- * box_set.c
- */
-int box_set(WINDOW *, const cchar_t *, const cchar_t *);
-
-/*
- * brdr.c
- */
-int border(chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype);
-
-/*
- * brdr_st.c
- */
-int border_set(const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *);
-
-/*
- * cbreak.c
- */
-int cbreak(void);
-int nocbreak(void);
-int halfdelay(int);
-int raw(void);
-int noraw(void);
-
-/*
- * chgat.c
- */
-int chgat(int, attr_t, short, const void *);
-int mvchgat(int, int, int, attr_t, short, const void *);
-int mvwchgat(WINDOW *, int, int, int, attr_t, short, const void *);
-
-/*
- * clear.c
- */
-int clear(void);
-int erase(void);
-
-/*
- * clearok.c
- */
-int clearok(WINDOW *, bool);
-void immedok(WINDOW *, bool);
-int leaveok(WINDOW *, bool);
-int notimeout(WINDOW *, bool);
-int scrollok(WINDOW *, bool);
-
-/*
- * clrbot.c
- */
-int clrtobot(void);
-
-/*
- * clreol.c
- */
-int clrtoeol(void);
-
-/*
- * color.c
- */
-int start_color(void);
-int init_color(short, short, short, short);
-int init_pair(short, short, short);
-int color_content(short, short *, short *, short *);
-int pair_content(short, short *, short *);
-
-/*
- * copywin.c
- */
-int copywin(const WINDOW *, WINDOW *, int, int, int, int, int, int, int);
-
-/*
- * curs_set.c
- */
-int curs_set(int);
-
-/*
- * delay.c
- */
-int delay_output(int);
-
-/*
- * delch.c
- */
-int delch(void);
-int mvdelch(int, int);
-int mvwdelch(WINDOW *, int, int);
-
-/*
- * deleteln.c
- */
-int deleteln(void);
-int insertln(void);
-int insdelln(int);
-int wdeleteln(WINDOW *);
-int winsertln(WINDOW *);
-
-/*
- * doupdate.c
- */
-int doupdate(void);
-void idcok(WINDOW *, bool);
-int idlok(WINDOW *, bool);
-
-/*
- * dupwin.c
- */
-WINDOW *dupwin(WINDOW *);
-
-/*
- * echo_wch.c
- */
-int echo_wchar(const cchar_t *);
-int wecho_wchar(WINDOW *, const cchar_t *);
-
-/*
- * echochar.c
- */
-int echochar(chtype);
-int wechochar(WINDOW *, chtype);
-
-/*
- * endwin.c
- */
-int endwin(void);
-
-/*
- * flushinp.c
- */
-int flushinp(void);
-
-/*
- * get_wch.c
- */
-int get_wch(wint_t *);
-int mvget_wch(int, int, wint_t *);
-int mvwget_wch(WINDOW *, int, int, wint_t *);
-
-/*
- * getcchar.c
- */
-int getcchar(const cchar_t *, wchar_t *, attr_t *, short *, void *);
-
-/*
- * getch.c
- */
-int getch(void);
-int mvgetch(int, int);
-int mvwgetch(WINDOW *, int, int);
-
-/*
- * getn_ws.c
- */
-int getn_wstr(wint_t *, int);
-int mvgetn_wstr(int, int, wint_t *, int);
-int mvwgetn_wstr(WINDOW *, int, int, wint_t *, int);
-int get_wstr(wint_t *);
-int mvget_wstr(int, int, wint_t *);
-int mvwget_wstr(WINDOW *, int, int, wint_t *);
-int wget_wstr(WINDOW *, wint_t *);
-
-/*
- * getnstr.c
- */
-int getnstr(char *, int);
-int mvgetnstr(int, int, char *, int);
-int mvwgetnstr(WINDOW *, int, int, char *, int);
-int getstr(char *);
-int mvgetstr(int, int, char *);
-int mvwgetstr(WINDOW *, int, int, char *);
-int wgetstr(WINDOW *, char *);
-
-/*
- * getwin.c
- */
-WINDOW *getwin(FILE *);
-int putwin(WINDOW *, FILE *);
-
-/*
- * has.c
- */
-bool has_colors(void);
-bool has_ic(void);
-bool has_il(void);
-bool can_change_color(void);
-
-/*
- * hln.c
- */
-int hline(chtype, int);
-int mvhline(int, int, chtype, int);
-int mvwhline(WINDOW *, int, int, chtype, int);
-int vline(chtype, int);
-int mvvline(int, int, chtype, int);
-int mvwvline(WINDOW *, int, int, chtype, int);
-
-/*
- * hln_st.c
- */
-int hline_set(const cchar_t *, int);
-int mvhline_set(int, int, const cchar_t *, int);
-int mvwhline_set(WINDOW *, int, int, const cchar_t *, int);
-int vline_set(const cchar_t *, int);
-int mvvline_set(int, int, const cchar_t *, int);
-int mvwvline_set(WINDOW *, int, int, const cchar_t *, int);
-
-/*
- * in_wch.c
- */
-int in_wch(cchar_t *);
-int mvin_wch(int, int, cchar_t *);
-int mvwin_wch(WINDOW *, int, int, cchar_t *);
-
-/*
- * in_wchn.c
- */
-int in_wchnstr(cchar_t *, int);
-int mvin_wchnstr(int, int, cchar_t *, int);
-int mvwin_wchnstr(WINDOW *, int, int, cchar_t *, int);
-int in_wchstr(cchar_t *);
-int mvin_wchstr(int, int, cchar_t *);
-int mvwin_wchstr(WINDOW *, int, int, cchar_t *);
-int win_wchstr(WINDOW *, cchar_t *);
-
-/*
- * inch.c
- */
-chtype inch(void);
-chtype mvinch(int, int);
-chtype mvwinch(WINDOW *, int, int);
-
-/*
- * inchn.c
- */
-int inchnstr(chtype *, int);
-int mvinchnstr(int, int, chtype *, int);
-int mvwinchnstr(WINDOW *, int, int, chtype *, int);
-int inchstr(chtype *);
-int mvinchstr(int, int, chtype *);
-int mvwinchstr(WINDOW *, int, int, chtype *);
-int winchstr(WINDOW *, chtype *);
-
-/*
- * initscr.c
- */
-WINDOW *initscr(void);
-
-/*
- * innstr.c
- */
-int innstr(char *, int);
-int mvinnstr(int, int, char *, int);
-int mvwinnstr(WINDOW *, int, int, char *, int);
-int instr(char *);
-int mvinstr(int, int, char *);
-int mvwinstr(WINDOW *, int, int, char *);
-int winstr(WINDOW *, char *);
-
-/*
- * innwstr.c
- */
-int innwstr(wchar_t *, int);
-int mvinnwstr(int, int, wchar_t *, int);
-int mvwinnwstr(WINDOW *, int, int, wchar_t *, int);
-int inwstr(wchar_t *);
-int mvinwstr(int, int, wchar_t *);
-int mvwinwstr(WINDOW *, int, int, wchar_t *);
-int winwstr(WINDOW *, wchar_t *);
-
-/*
- * ins_nws.c
- */
-int ins_nwstr(const wchar_t *, int);
-int mvins_nwstr(int, int, const wchar_t *, int);
-int mvwins_nwstr(WINDOW *, int, int, const wchar_t *, int);
-int ins_wstr(const wchar_t *);
-int mvins_wstr(int, int, const wchar_t *);
-int mvwins_wstr(WINDOW *, int, int, const wchar_t *);
-int wins_wstr(WINDOW *, const wchar_t *);
-
-/*
- * ins_wch.c
- */
-int ins_wch(const cchar_t *);
-int mvins_wch(int, int, const cchar_t *);
-int mvwins_wch(WINDOW *, int, int, const cchar_t *);
-
-/*
- * insch.c
- */
-int insch(chtype);
-int mvinsch(int, int, chtype);
-int mvwinsch(WINDOW *, int, int, chtype);
-
-/*
- * insnstr.c
- */
-int insnstr(const char *, int);
-int mvinsnstr(int, int, const char *, int);
-int mvwinsnstr(WINDOW *, int, int, const char *, int);
-int insstr(const char *);
-int mvinsstr(int, int, const char *);
-int mvwinsstr(WINDOW *, int, int, const char *);
-int winsstr(WINDOW *, const char *);
-
-/*
- * intrflsh.c
- */
-int intrflush(WINDOW *, bool);
-
-/*
- * isendwin.c
- */
-bool isendwin(void);
-
-/*
- * key_name.c
- */
-char *key_name(wchar_t);
-
-/*
- * keyname.c
- */
-char *keyname(int);
-
-/*
- * keypad.c
- */
-int keypad(WINDOW *, bool);
-
-/*
- * killchar.c
- */
-char erasechar(void);
-char killchar(void);
-
-/*
- * killwch.c
- */
-int erasewchar(wchar_t *);
-int killwchar(wchar_t *);
-
-/*
- * longname.c
- */
-char *longname(void);
-char *termname(void);
-
-/*
- * meta.c
- */
-int meta(WINDOW *, bool);
-
-/*
- * move.c
- */
-int move(int, int);
-
-/*
- * mvcur.c
- */
-int mvcur(int, int, int, int);
-
-/*
- * mvwin.c
- */
-int mvwin(WINDOW *, int, int);
-int mvderwin(WINDOW *, int, int);
-
-/*
- * napms.c
- */
-int napms(int);
-
-/*
- * newpad.c
- */
-WINDOW *newpad(int, int);
-WINDOW *subpad(WINDOW *, int, int, int, int);
-
-/*
- * newterm.c
- */
-void filter(void);
-void tstp(int);
-int ripoffline(int, int (*)(WINDOW *, int));
-SCREEN *newterm(char *, FILE *, FILE *);
-void delscreen(SCREEN *);
-SCREEN *set_term(SCREEN *);
-int typeahead(int);
-
-/*
- * newwin.c
- */
-int delwin(WINDOW *);
-WINDOW *derwin(WINDOW *, int, int, int, int);
-WINDOW *newwin(int, int, int, int);
-WINDOW *subwin(WINDOW *, int, int, int, int);
-
-/*
- * noecho.c
- */
-int echo(void);
-int noecho(void);
-
-/*
- * nonl.c
- */
-int nl(void);
-int nonl(void);
-
-/*
- * overlay.c
- */
-int overlay(const WINDOW *, WINDOW *);
-int overwrite(const WINDOW *, WINDOW *);
-
-/*
- * pecho_wc.c
- */
-int pecho_wchar(WINDOW *, const cchar_t *);
-
-/*
- * pechoch.c
- */
-int pechochar(WINDOW *, chtype);
-
-/*
- * prefresh.c
- */
-int prefresh(WINDOW *, int, int, int, int, int, int);
-int pnoutrefresh(WINDOW *, int, int, int, int, int, int);
-
-/*
- * printw.c
- */
-int printw(char *, ...);
-int mvprintw(int, int, char *, ...);
-int mvwprintw(WINDOW *, int, int, char *, ...);
-int wprintw(WINDOW *, char *, ...);
-
-/*
- * qiflush.c
- */
-void qiflush(void);
-void noqiflush(void);
-
-/*
- * redraw.c
- */
-int redrawwin(WINDOW *);
-
-/*
- * refresh.c
- */
-int refresh(void);
-
-/*
- * savetty.c
- */
-int savetty(void);
-int resetty(void);
-
-/*
- * scanw.c
- */
-int scanw(char *, ...);
-int mvscanw(int, int, char *, ...);
-int mvwscanw(WINDOW *, int, int, char *, ...);
-int wscanw(WINDOW *, char *, ...);
-
-/*
- * scr_dump.c
- */
-int scr_dump(const char *);
-int scr_restore(const char *);
-int scr_init(const char *);
-int scr_set(const char *);
-
-/*
- * scrl.c
- */
-int scroll(WINDOW *);
-int scrl(int);
-
-/*
- * scrreg.c
- */
-int setscrreg(int, int);
-
-/*
- * setcchar.c
- */
-int setcchar(cchar_t *, const wchar_t *, attr_t, short, const void *);
-
-/*
- * setup.c
- */
-void use_env(bool);
-int setupterm(char *, int, int *);
-int del_curterm(TERMINAL *);
-TERMINAL *set_curterm(TERMINAL *);
-int restartterm(char *, int, int *);
-int def_shell_mode(void);
-int def_prog_mode(void);
-int reset_shell_mode(void);
-int reset_prog_mode(void);
-
-/*
- * slk.c
- */
-int slk_init(int);
-int slk_attron(const chtype);
-int slk_attroff(const chtype);
-int slk_attrset(const chtype);
-int slk_attr_off(const attr_t, void *);
-int slk_attr_on(const attr_t, void *);
-int slk_attr_set(const attr_t, short, void *);
-int slk_color(short);
-int slk_touch(void);
-int slk_clear(void);
-int slk_restore(void);
-int slk_noutrefresh(void);
-int slk_refresh(void);
-char *slk_label(int);
-int slk_set(int, const char *, int);
-int slk_wset(int, const wchar_t *, int);
-int slk_color_set(short);
-
-/*
- * termattr.c
- */
-chtype termattrs(void);
-attr_t term_attrs(void);
-
-/*
- * tgetent.c
- */
-int tgetent(char *, const char *);
-
-/*
- * tgetflag.c
- */
-int tgetflag(char *);
-
-/*
- * tgetnum.c
- */
-int tgetnum(char *);
-
-/*
- * tgetstr.c
- */
-char *tgetstr(char *, char **);
-
-/*
- * tgoto.c
- */
-char *tgoto(char *, int, int);
-
-/*
- * tigetfla.c
- */
-int tigetflag(char *);
-
-/*
- * tigetnum.c
- */
-int tigetnum(char *);
-
-/*
- * tigetstr.c
- */
-char *tigetstr(char *);
-
-/*
- * timeout.c
- */
-int nodelay(WINDOW *, bool);
-void timeout(int);
-
-/*
- * touched.c
- */
-bool is_linetouched(WINDOW *, int);
-bool is_wintouched(WINDOW *);
-
-/*
- * touchwin.c
- */
-int touchwin(WINDOW *);
-int untouchwin(WINDOW *);
-int touchline(WINDOW *, int, int);
-
-/*
- * unctrl.c
- */
-char *unctrl(chtype);
-
-/*
- * vid_attr.c
- */
-int vid_attr(attr_t, short, void *);
-
-/*
- * vid_puts.c
- */
-int vid_puts(attr_t, short, void *, int (*)(int));
-
-/*
- * vidattr.c
- */
-int vidattr(chtype);
-int vidputs(chtype, int (*)(int));
-
-/*
- * vw_print.c
- */
-int vw_printw(WINDOW *, char *, __va_list);
-
-/*
- * vw_scanw.c
- */
-int vw_scanw(WINDOW *, char *, __va_list);
-
-/*
- * vwprintw.c
- */
-int vwprintw(WINDOW *, char *, __va_list);
-
-/*
- * vwscanw.c
- */
-int vwscanw(WINDOW *, char *, __va_list);
-
-/*
- * wadd_wch.c
- */
-int wadd_wch(WINDOW *, const cchar_t *);
-
-/*
- * waddch.c
- */
-int waddch(WINDOW *, chtype);
-
-/*
- * waddchn.c
- */
-int waddchnstr(WINDOW *, const chtype *, int);
-
-/*
- * waddnstr.c
- */
-int waddnstr(WINDOW *, const char *, int);
-
-/*
- * waddnws.c
- */
-int waddnwstr(WINDOW *, const wchar_t *, int);
-
-/*
- * waddwchn.c
- */
-int wadd_wchnstr(WINDOW *, const cchar_t *, int);
-
-/*
- * wattr_on.c
- */
-int wattr_on(WINDOW *, attr_t, void *);
-int wattr_off(WINDOW *, attr_t, void *);
-int wattr_set(WINDOW *, attr_t, short, void *);
-int wattr_get(WINDOW *, attr_t *, short *, void *);
-int wcolor_set(WINDOW *, short, void *);
-int wstandout(WINDOW *);
-int wstandend(WINDOW *);
-
-/*
- * wattron.c
- */
-int wattron(WINDOW *, int);
-int wattroff(WINDOW *, int);
-int wattrset(WINDOW *, int);
-
-/*
- * wbkgrnd.c
- */
-int wbkgrnd(WINDOW *, const cchar_t *);
-
-/*
- * wbrdr.c
- */
-int wborder(WINDOW *, chtype, chtype, chtype, chtype,
- chtype, chtype, chtype, chtype);
-
-/*
- * wbrdr_st.c
- */
-int wborder_set(WINDOW *, const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *);
-
-/*
- * wchgat.c
- */
-int wchgat(WINDOW *, int, attr_t, short, const void *);
-
-/*
- * wclear.c
- */
-int wclear(WINDOW *);
-int werase(WINDOW *);
-
-/*
- * wclrbot.c
- */
-int wclrtobot(WINDOW *);
-
-/*
- * wclreol.c
- */
-int wclrtoeol(WINDOW *);
-
-/*
- * wdelch.c
- */
-int wdelch(WINDOW *);
-
-/*
- * wget_wch.c
- */
-int unget_wch(const wchar_t);
-int wget_wch(WINDOW *, wint_t *);
-
-/*
- * wgetch.c
- */
-int ungetch(int);
-int wgetch(WINDOW *);
-
-/*
- * wgetn_ws.c
- */
-int wgetnstr(WINDOW *, char *, int);
-int wgetn_wstr(WINDOW *, wint_t *, int);
-
-/*
- * whln.c
- */
-int whline(WINDOW *, chtype, int);
-int wvline(WINDOW *, chtype, int);
-
-/*
- * whln_st.c
- */
-int whline_set(WINDOW *, const cchar_t *, int);
-int wvline_set(WINDOW *, const cchar_t *, int);
-
-/*
- * win_wch.c
- */
-int win_wch(WINDOW *, cchar_t *);
-
-/*
- * win_wchn.c
- */
-int win_wchnstr(WINDOW *, cchar_t *, int);
-
-/*
- * winch.c
- */
-chtype winch(WINDOW *);
-
-/*
- * winchn.c
- */
-int winchnstr(WINDOW *, chtype *, int);
-
-/*
- * winnstr.c
- */
-int winnstr(WINDOW *, char *, int);
-
-/*
- * winnwstr.c
- */
-int winnwstr(WINDOW *, wchar_t *, int);
-
-/*
- * wins_nws.c
- */
-int wins_nwstr(WINDOW *, const wchar_t *, int);
-
-/*
- * wins_wch.c
- */
-int wins_wch(WINDOW *, const cchar_t *);
-
-/*
- * winsch.c
- */
-int winsch(WINDOW *, chtype);
-
-/*
- * winsdel.c
- */
-int winsdelln(WINDOW *, int);
-
-/*
- * winsnstr.c
- */
-int winsnstr(WINDOW *, const char *, int);
-
-/*
- * wmove.c
- */
-int wmove(WINDOW *, int, int);
-
-/*
- * wredraw.c
- */
-int wredrawln(WINDOW *, int, int);
-
-/*
- * wrefresh.c
- */
-int wrefresh(WINDOW *);
-int wnoutrefresh(WINDOW *);
-
-/*
- * wscrl.c
- */
-int wscrl(WINDOW *, int);
-
-/*
- * wscrreg.c
- */
-int wsetscrreg(WINDOW *, int, int);
-
-/*
- * wsyncdn.c
- */
-void wsyncdown(WINDOW *);
-
-/*
- * wsyncup.c
- */
-int syncok(WINDOW *, bool);
-void wsyncup(WINDOW *);
-void wcursyncup(WINDOW *);
-
-/*
- * wtimeout.c
- */
-void wtimeout(WINDOW *, int);
-
-/*
- * wtouchln.c
- */
-int wtouchln(WINDOW *, int, int, int);
-
-/*
- * wunctrl.c
- */
-wchar_t *wunctrl(cchar_t *);
diff --git a/usr/src/lib/libxcurses2/src/libc/llib-lxcurses b/usr/src/lib/libxcurses2/src/libc/llib-lxcurses
deleted file mode 100644
index 082dd7f8c6..0000000000
--- a/usr/src/lib/libxcurses2/src/libc/llib-lxcurses
+++ /dev/null
@@ -1,1024 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright (c) 1996-1998 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <curses.h>
-#include <term.h>
-
-/*
- * lib/libxcurses/src/libc/xcurses routines
- */
-
-/*
- * add_wch.c
- */
-int add_wch(const cchar_t *);
-int mvadd_wch(int, int, const cchar_t *);
-int mvwadd_wch(WINDOW *, int, int, const cchar_t *);
-
-/*
- * addch.c
- */
-int addch(chtype);
-int mvaddch(int, int, chtype);
-int mvwaddch(WINDOW *, int, int, chtype);
-
-/*
- * addchn.c
- */
-int addchnstr(const chtype *, int);
-int mvaddchnstr(int, int, const chtype *, int);
-int mvwaddchnstr(WINDOW *, int, int, const chtype *, int);
-int addchstr(const chtype *);
-int mvaddchstr(int, int, const chtype *);
-int mvwaddchstr(WINDOW *, int, int, const chtype *);
-int waddchstr(WINDOW *, const chtype *);
-
-/*
- * addnstr.c
- */
-int addnstr(const char *, int);
-int mvaddnstr(int, int, const char *, int);
-int mvwaddnstr(WINDOW *, int, int, const char *, int);
-int addstr(const char *);
-int mvaddstr(int, int, const char *);
-int mvwaddstr(WINDOW *, int, int, const char *);
-int waddstr(WINDOW *, const char *);
-
-/*
- * addnws.c
- */
-int addnwstr(const wchar_t *, int);
-int mvaddnwstr(int, int, const wchar_t *, int);
-int mvwaddnwstr(WINDOW *, int, int, const wchar_t *, int);
-int addwstr(const wchar_t *);
-int mvaddwstr(int, int, const wchar_t *);
-int mvwaddwstr(WINDOW *, int, int, const wchar_t *);
-int waddwstr(WINDOW *, const wchar_t *);
-
-/*
- * addwchn.c
- */
-int add_wchnstr(const cchar_t *, int);
-int mvadd_wchnstr(int, int, const cchar_t *, int);
-int mvwadd_wchnstr(WINDOW *, int, int, const cchar_t *, int);
-int add_wchstr(const cchar_t *);
-int mvadd_wchstr(int, int, const cchar_t *);
-int mvwadd_wchstr(WINDOW *, int, int, const cchar_t *);
-int wadd_wchstr(WINDOW *, const cchar_t *);
-
-/*
- * attr_on.c
- */
-int attr_on(attr_t, void *);
-int attr_off(attr_t, void *);
-int attr_set(attr_t, short, void *);
-int color_set(short, void *);
-int attr_get(attr_t *, short *, void *);
-int standout(void);
-int standend(void);
-
-/*
- * attron.c
- */
-int attron(int);
-int attroff(int);
-int attrset(int);
-int COLOR_PAIR(int);
-int PAIR_NUMBER(int);
-
-/*
- * baudrate.c
- */
-int baudrate(void);
-
-/*
- * beep.c
- */
-int beep(void);
-int flash(void);
-
-/*
- * bkgd.c
- */
-int bkgd(chtype);
-int wbkgd(WINDOW *, chtype);
-
-/*
- * bkgdset.c
- */
-void bkgdset(chtype);
-void wbkgdset(WINDOW *, chtype);
-chtype getbkgd(WINDOW *);
-
-/*
- * bkgrnd.c
- */
-int bkgrnd(const cchar_t *);
-
-/*
- * bkgrndst.c
- */
-void bkgrndset(const cchar_t *);
-void wbkgrndset(WINDOW *, const cchar_t *);
-int getbkgrnd(cchar_t *);
-int wgetbkgrnd(WINDOW *, cchar_t *);
-
-/*
- * box.c
- */
-int box(WINDOW *, chtype, chtype);
-
-/*
- * box_set.c
- */
-int box_set(WINDOW *, const cchar_t *, const cchar_t *);
-
-/*
- * brdr.c
- */
-int border(chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype);
-
-/*
- * brdr_st.c
- */
-int border_set(const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *);
-
-/*
- * cbreak.c
- */
-int cbreak(void);
-int nocbreak(void);
-int halfdelay(int);
-int raw(void);
-int noraw(void);
-
-/*
- * chgat.c
- */
-int chgat(int, attr_t, short, const void *);
-int mvchgat(int, int, int, attr_t, short, const void *);
-int mvwchgat(WINDOW *, int, int, int, attr_t, short, const void *);
-
-/*
- * clear.c
- */
-int clear(void);
-int erase(void);
-
-/*
- * clearok.c
- */
-int clearok(WINDOW *, bool);
-void immedok(WINDOW *, bool);
-int leaveok(WINDOW *, bool);
-int notimeout(WINDOW *, bool);
-int scrollok(WINDOW *, bool);
-
-/*
- * clrbot.c
- */
-int clrtobot(void);
-
-/*
- * clreol.c
- */
-int clrtoeol(void);
-
-/*
- * color.c
- */
-int start_color(void);
-int init_color(short, short, short, short);
-int init_pair(short, short, short);
-int color_content(short, short *, short *, short *);
-int pair_content(short, short *, short *);
-
-/*
- * copywin.c
- */
-int copywin(const WINDOW *, WINDOW *, int, int, int, int, int, int, int);
-
-/*
- * curs_set.c
- */
-int curs_set(int);
-
-/*
- * delay.c
- */
-int delay_output(int);
-
-/*
- * delch.c
- */
-int delch(void);
-int mvdelch(int, int);
-int mvwdelch(WINDOW *, int, int);
-
-/*
- * deleteln.c
- */
-int deleteln(void);
-int insertln(void);
-int insdelln(int);
-int wdeleteln(WINDOW *);
-int winsertln(WINDOW *);
-
-/*
- * doupdate.c
- */
-int doupdate(void);
-void idcok(WINDOW *, bool);
-int idlok(WINDOW *, bool);
-
-/*
- * dupwin.c
- */
-WINDOW *dupwin(WINDOW *);
-
-/*
- * echo_wch.c
- */
-int echo_wchar(const cchar_t *);
-int wecho_wchar(WINDOW *, const cchar_t *);
-
-/*
- * echochar.c
- */
-int echochar(chtype);
-int wechochar(WINDOW *, chtype);
-
-/*
- * endwin.c
- */
-int endwin(void);
-
-/*
- * flushinp.c
- */
-int flushinp(void);
-
-/*
- * get_wch.c
- */
-int get_wch(wint_t *);
-int mvget_wch(int, int, wint_t *);
-int mvwget_wch(WINDOW *, int, int, wint_t *);
-
-/*
- * getcchar.c
- */
-int getcchar(const cchar_t *, wchar_t *, attr_t *, short *, void *);
-
-/*
- * getch.c
- */
-int getch(void);
-int mvgetch(int, int);
-int mvwgetch(WINDOW *, int, int);
-
-/*
- * getn_ws.c
- */
-int getn_wstr(wint_t *, int);
-int mvgetn_wstr(int, int, wint_t *, int);
-int mvwgetn_wstr(WINDOW *, int, int, wint_t *, int);
-int get_wstr(wint_t *);
-int mvget_wstr(int, int, wint_t *);
-int mvwget_wstr(WINDOW *, int, int, wint_t *);
-int wget_wstr(WINDOW *, wint_t *);
-
-/*
- * getnstr.c
- */
-int getnstr(char *, int);
-int mvgetnstr(int, int, char *, int);
-int mvwgetnstr(WINDOW *, int, int, char *, int);
-int getstr(char *);
-int mvgetstr(int, int, char *);
-int mvwgetstr(WINDOW *, int, int, char *);
-int wgetstr(WINDOW *, char *);
-
-/*
- * getwin.c
- */
-WINDOW *getwin(FILE *);
-int putwin(WINDOW *, FILE *);
-
-/*
- * has.c
- */
-bool has_colors(void);
-bool has_ic(void);
-bool has_il(void);
-bool can_change_color(void);
-
-/*
- * hln.c
- */
-int hline(chtype, int);
-int mvhline(int, int, chtype, int);
-int mvwhline(WINDOW *, int, int, chtype, int);
-int vline(chtype, int);
-int mvvline(int, int, chtype, int);
-int mvwvline(WINDOW *, int, int, chtype, int);
-
-/*
- * hln_st.c
- */
-int hline_set(const cchar_t *, int);
-int mvhline_set(int, int, const cchar_t *, int);
-int mvwhline_set(WINDOW *, int, int, const cchar_t *, int);
-int vline_set(const cchar_t *, int);
-int mvvline_set(int, int, const cchar_t *, int);
-int mvwvline_set(WINDOW *, int, int, const cchar_t *, int);
-
-/*
- * in_wch.c
- */
-int in_wch(cchar_t *);
-int mvin_wch(int, int, cchar_t *);
-int mvwin_wch(WINDOW *, int, int, cchar_t *);
-
-/*
- * in_wchn.c
- */
-int in_wchnstr(cchar_t *, int);
-int mvin_wchnstr(int, int, cchar_t *, int);
-int mvwin_wchnstr(WINDOW *, int, int, cchar_t *, int);
-int in_wchstr(cchar_t *);
-int mvin_wchstr(int, int, cchar_t *);
-int mvwin_wchstr(WINDOW *, int, int, cchar_t *);
-int win_wchstr(WINDOW *, cchar_t *);
-
-/*
- * inch.c
- */
-chtype inch(void);
-chtype mvinch(int, int);
-chtype mvwinch(WINDOW *, int, int);
-
-/*
- * inchn.c
- */
-int inchnstr(chtype *, int);
-int mvinchnstr(int, int, chtype *, int);
-int mvwinchnstr(WINDOW *, int, int, chtype *, int);
-int inchstr(chtype *);
-int mvinchstr(int, int, chtype *);
-int mvwinchstr(WINDOW *, int, int, chtype *);
-int winchstr(WINDOW *, chtype *);
-
-/*
- * initscr.c
- */
-WINDOW *initscr(void);
-
-/*
- * innstr.c
- */
-int innstr(char *, int);
-int mvinnstr(int, int, char *, int);
-int mvwinnstr(WINDOW *, int, int, char *, int);
-int instr(char *);
-int mvinstr(int, int, char *);
-int mvwinstr(WINDOW *, int, int, char *);
-int winstr(WINDOW *, char *);
-
-/*
- * innwstr.c
- */
-int innwstr(wchar_t *, int);
-int mvinnwstr(int, int, wchar_t *, int);
-int mvwinnwstr(WINDOW *, int, int, wchar_t *, int);
-int inwstr(wchar_t *);
-int mvinwstr(int, int, wchar_t *);
-int mvwinwstr(WINDOW *, int, int, wchar_t *);
-int winwstr(WINDOW *, wchar_t *);
-
-/*
- * ins_nws.c
- */
-int ins_nwstr(const wchar_t *, int);
-int mvins_nwstr(int, int, const wchar_t *, int);
-int mvwins_nwstr(WINDOW *, int, int, const wchar_t *, int);
-int ins_wstr(const wchar_t *);
-int mvins_wstr(int, int, const wchar_t *);
-int mvwins_wstr(WINDOW *, int, int, const wchar_t *);
-int wins_wstr(WINDOW *, const wchar_t *);
-
-/*
- * ins_wch.c
- */
-int ins_wch(const cchar_t *);
-int mvins_wch(int, int, const cchar_t *);
-int mvwins_wch(WINDOW *, int, int, const cchar_t *);
-
-/*
- * insch.c
- */
-int insch(chtype);
-int mvinsch(int, int, chtype);
-int mvwinsch(WINDOW *, int, int, chtype);
-
-/*
- * insnstr.c
- */
-int insnstr(const char *, int);
-int mvinsnstr(int, int, const char *, int);
-int mvwinsnstr(WINDOW *, int, int, const char *, int);
-int insstr(const char *);
-int mvinsstr(int, int, const char *);
-int mvwinsstr(WINDOW *, int, int, const char *);
-int winsstr(WINDOW *, const char *);
-
-/*
- * intrflsh.c
- */
-int intrflush(WINDOW *, bool);
-
-/*
- * isendwin.c
- */
-bool isendwin(void);
-
-/*
- * key_name.c
- */
-char *key_name(wchar_t);
-
-/*
- * keyname.c
- */
-char *keyname(int);
-
-/*
- * keypad.c
- */
-int keypad(WINDOW *, bool);
-
-/*
- * killchar.c
- */
-char erasechar(void);
-char killchar(void);
-
-/*
- * killwch.c
- */
-int erasewchar(wchar_t *);
-int killwchar(wchar_t *);
-
-/*
- * longname.c
- */
-char *longname(void);
-char *termname(void);
-
-/*
- * meta.c
- */
-int meta(WINDOW *, bool);
-
-/*
- * move.c
- */
-int move(int, int);
-
-/*
- * mvcur.c
- */
-int mvcur(int, int, int, int);
-
-/*
- * mvwin.c
- */
-int mvwin(WINDOW *, int, int);
-int mvderwin(WINDOW *, int, int);
-
-/*
- * napms.c
- */
-int napms(int);
-
-/*
- * newpad.c
- */
-WINDOW *newpad(int, int);
-WINDOW *subpad(WINDOW *, int, int, int, int);
-
-/*
- * newterm.c
- */
-void filter(void);
-void tstp(int);
-int ripoffline(int, int (*)(WINDOW *, int));
-SCREEN *newterm(char *, FILE *, FILE *);
-void delscreen(SCREEN *);
-SCREEN *set_term(SCREEN *);
-int typeahead(int);
-
-/*
- * newwin.c
- */
-int delwin(WINDOW *);
-WINDOW *derwin(WINDOW *, int, int, int, int);
-WINDOW *newwin(int, int, int, int);
-WINDOW *subwin(WINDOW *, int, int, int, int);
-
-/*
- * noecho.c
- */
-int echo(void);
-int noecho(void);
-
-/*
- * nonl.c
- */
-int nl(void);
-int nonl(void);
-
-/*
- * overlay.c
- */
-int overlay(const WINDOW *, WINDOW *);
-int overwrite(const WINDOW *, WINDOW *);
-
-/*
- * pecho_wc.c
- */
-int pecho_wchar(WINDOW *, const cchar_t *);
-
-/*
- * pechoch.c
- */
-int pechochar(WINDOW *, chtype);
-
-/*
- * prefresh.c
- */
-int prefresh(WINDOW *, int, int, int, int, int, int);
-int pnoutrefresh(WINDOW *, int, int, int, int, int, int);
-
-/*
- * printw.c
- */
-int printw(char *, ...);
-int mvprintw(int, int, char *, ...);
-int mvwprintw(WINDOW *, int, int, char *, ...);
-int wprintw(WINDOW *, char *, ...);
-
-/*
- * qiflush.c
- */
-void qiflush(void);
-void noqiflush(void);
-
-/*
- * redraw.c
- */
-int redrawwin(WINDOW *);
-
-/*
- * refresh.c
- */
-int refresh(void);
-
-/*
- * savetty.c
- */
-int savetty(void);
-int resetty(void);
-
-/*
- * scanw.c
- */
-int scanw(char *, ...);
-int mvscanw(int, int, char *, ...);
-int mvwscanw(WINDOW *, int, int, char *, ...);
-int wscanw(WINDOW *, char *, ...);
-
-/*
- * scr_dump.c
- */
-int scr_dump(const char *);
-int scr_restore(const char *);
-int scr_init(const char *);
-int scr_set(const char *);
-
-/*
- * scrl.c
- */
-int scroll(WINDOW *);
-int scrl(int);
-
-/*
- * scrreg.c
- */
-int setscrreg(int, int);
-
-/*
- * setcchar.c
- */
-int setcchar(cchar_t *, const wchar_t *, attr_t, short, const void *);
-
-/*
- * setup.c
- */
-void use_env(bool);
-int setupterm(char *, int, int *);
-int del_curterm(TERMINAL *);
-TERMINAL *set_curterm(TERMINAL *);
-int restartterm(char *, int, int *);
-int def_shell_mode(void);
-int def_prog_mode(void);
-int reset_shell_mode(void);
-int reset_prog_mode(void);
-
-/*
- * slk.c
- */
-int slk_init(int);
-int slk_attron(const chtype);
-int slk_attroff(const chtype);
-int slk_attrset(const chtype);
-int slk_attr_off(const attr_t, void *);
-int slk_attr_on(const attr_t, void *);
-int slk_attr_set(const attr_t, short, void *);
-int slk_color(short);
-int slk_touch(void);
-int slk_clear(void);
-int slk_restore(void);
-int slk_noutrefresh(void);
-int slk_refresh(void);
-char *slk_label(int);
-int slk_set(int, const char *, int);
-int slk_wset(int, const wchar_t *, int);
-int slk_color_set(short);
-
-/*
- * termattr.c
- */
-chtype termattrs(void);
-attr_t term_attrs(void);
-
-/*
- * tgetent.c
- */
-int tgetent(char *, const char *);
-
-/*
- * tgetflag.c
- */
-int tgetflag(char *);
-
-/*
- * tgetnum.c
- */
-int tgetnum(char *);
-
-/*
- * tgetstr.c
- */
-char *tgetstr(char *, char **);
-
-/*
- * tgoto.c
- */
-char *tgoto(char *, int, int);
-
-/*
- * tigetfla.c
- */
-int tigetflag(char *);
-
-/*
- * tigetnum.c
- */
-int tigetnum(char *);
-
-/*
- * tigetstr.c
- */
-char *tigetstr(char *);
-
-/*
- * timeout.c
- */
-int nodelay(WINDOW *, bool);
-void timeout(int);
-
-/*
- * touched.c
- */
-bool is_linetouched(WINDOW *, int);
-bool is_wintouched(WINDOW *);
-
-/*
- * touchwin.c
- */
-int touchwin(WINDOW *);
-int untouchwin(WINDOW *);
-int touchline(WINDOW *, int, int);
-
-/*
- * unctrl.c
- */
-char *unctrl(chtype);
-
-/*
- * vid_attr.c
- */
-int vid_attr(attr_t, short, void *);
-
-/*
- * vid_puts.c
- */
-int vid_puts(attr_t, short, void *, int (*)(int));
-
-/*
- * vidattr.c
- */
-int vidattr(chtype);
-int vidputs(chtype, int (*)(int));
-
-/*
- * vw_print.c
- */
-int vw_printw(WINDOW *, char *, __va_list);
-
-/*
- * vw_scanw.c
- */
-int vw_scanw(WINDOW *, char *, __va_list);
-
-/*
- * vwprintw.c
- */
-int vwprintw(WINDOW *, char *, __va_list);
-
-/*
- * vwscanw.c
- */
-int vwscanw(WINDOW *, char *, __va_list);
-
-/*
- * wadd_wch.c
- */
-int wadd_wch(WINDOW *, const cchar_t *);
-
-/*
- * waddch.c
- */
-int waddch(WINDOW *, chtype);
-
-/*
- * waddchn.c
- */
-int waddchnstr(WINDOW *, const chtype *, int);
-
-/*
- * waddnstr.c
- */
-int waddnstr(WINDOW *, const char *, int);
-
-/*
- * waddnws.c
- */
-int waddnwstr(WINDOW *, const wchar_t *, int);
-
-/*
- * waddwchn.c
- */
-int wadd_wchnstr(WINDOW *, const cchar_t *, int);
-
-/*
- * wattr_on.c
- */
-int wattr_on(WINDOW *, attr_t, void *);
-int wattr_off(WINDOW *, attr_t, void *);
-int wattr_set(WINDOW *, attr_t, short, void *);
-int wattr_get(WINDOW *, attr_t *, short *, void *);
-int wcolor_set(WINDOW *, short, void *);
-int wstandout(WINDOW *);
-int wstandend(WINDOW *);
-
-/*
- * wattron.c
- */
-int wattron(WINDOW *, int);
-int wattroff(WINDOW *, int);
-int wattrset(WINDOW *, int);
-
-/*
- * wbkgrnd.c
- */
-int wbkgrnd(WINDOW *, const cchar_t *);
-
-/*
- * wbrdr.c
- */
-int wborder(WINDOW *, chtype, chtype, chtype, chtype,
- chtype, chtype, chtype, chtype);
-
-/*
- * wbrdr_st.c
- */
-int wborder_set(WINDOW *, const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *,
- const cchar_t *, const cchar_t *);
-
-/*
- * wchgat.c
- */
-int wchgat(WINDOW *, int, attr_t, short, const void *);
-
-/*
- * wclear.c
- */
-int wclear(WINDOW *);
-int werase(WINDOW *);
-
-/*
- * wclrbot.c
- */
-int wclrtobot(WINDOW *);
-
-/*
- * wclreol.c
- */
-int wclrtoeol(WINDOW *);
-
-/*
- * wdelch.c
- */
-int wdelch(WINDOW *);
-
-/*
- * wget_wch.c
- */
-int unget_wch(const wchar_t);
-int wget_wch(WINDOW *, wint_t *);
-
-/*
- * wgetch.c
- */
-int ungetch(int);
-int wgetch(WINDOW *);
-
-/*
- * wgetn_ws.c
- */
-int wgetnstr(WINDOW *, char *, int);
-int wgetn_wstr(WINDOW *, wint_t *, int);
-
-/*
- * whln.c
- */
-int whline(WINDOW *, chtype, int);
-int wvline(WINDOW *, chtype, int);
-
-/*
- * whln_st.c
- */
-int whline_set(WINDOW *, const cchar_t *, int);
-int wvline_set(WINDOW *, const cchar_t *, int);
-
-/*
- * win_wch.c
- */
-int win_wch(WINDOW *, cchar_t *);
-
-/*
- * win_wchn.c
- */
-int win_wchnstr(WINDOW *, cchar_t *, int);
-
-/*
- * winch.c
- */
-chtype winch(WINDOW *);
-
-/*
- * winchn.c
- */
-int winchnstr(WINDOW *, chtype *, int);
-
-/*
- * winnstr.c
- */
-int winnstr(WINDOW *, char *, int);
-
-/*
- * winnwstr.c
- */
-int winnwstr(WINDOW *, wchar_t *, int);
-
-/*
- * wins_nws.c
- */
-int wins_nwstr(WINDOW *, const wchar_t *, int);
-
-/*
- * wins_wch.c
- */
-int wins_wch(WINDOW *, const cchar_t *);
-
-/*
- * winsch.c
- */
-int winsch(WINDOW *, chtype);
-
-/*
- * winsdel.c
- */
-int winsdelln(WINDOW *, int);
-
-/*
- * winsnstr.c
- */
-int winsnstr(WINDOW *, const char *, int);
-
-/*
- * wmove.c
- */
-int wmove(WINDOW *, int, int);
-
-/*
- * wredraw.c
- */
-int wredrawln(WINDOW *, int, int);
-
-/*
- * wrefresh.c
- */
-int wrefresh(WINDOW *);
-int wnoutrefresh(WINDOW *);
-
-/*
- * wscrl.c
- */
-int wscrl(WINDOW *, int);
-
-/*
- * wscrreg.c
- */
-int wsetscrreg(WINDOW *, int, int);
-
-/*
- * wsyncdn.c
- */
-void wsyncdown(WINDOW *);
-
-/*
- * wsyncup.c
- */
-int syncok(WINDOW *, bool);
-void wsyncup(WINDOW *);
-void wcursyncup(WINDOW *);
-
-/*
- * wtimeout.c
- */
-void wtimeout(WINDOW *, int);
-
-/*
- * wtouchln.c
- */
-int wtouchln(WINDOW *, int, int, int);
-
-/*
- * wunctrl.c
- */
-wchar_t *wunctrl(cchar_t *);
diff --git a/usr/src/lib/libxnet/common/llib-lxnet b/usr/src/lib/libxnet/common/llib-lxnet
deleted file mode 100644
index 21baebd9b2..0000000000
--- a/usr/src/lib/libxnet/common/llib-lxnet
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Set up the UNIX98 compilation environment.
- */
-#define _XOPEN_SOURCE 500
-#include <sys/feature_tests.h>
-
-/*
- * Slurp the interfaces out of the official UNIX98 networking headers.
- */
-#include <sys/socket.h>
-#include <arpa/inet.h>
-#include <netinet/in.h>
-#include <netdb.h>
diff --git a/usr/src/lib/libzfs/common/llib-lzfs b/usr/src/lib/libzfs/common/llib-lzfs
deleted file mode 100644
index 3552601183..0000000000
--- a/usr/src/lib/libzfs/common/llib-lzfs
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * Copyright 2010 Nexenta Systems, Inc. All rights reserved.
- * Copyright (c) 2012 by Delphix. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libzfs.h>
-#include <libzfs_core.h>
-#include "../../../common/zfs/zfs_comutil.h"
-#include "../../../common/zfs/zfs_fletcher.h"
-#include "../../../common/zfs/zfs_prop.h"
-#include "../../../common/zfs/zfeature_common.h"
diff --git a/usr/src/lib/libzfs_core/common/llib-lzfs_core b/usr/src/lib/libzfs_core/common/llib-lzfs_core
deleted file mode 100644
index 55f5d4e5e6..0000000000
--- a/usr/src/lib/libzfs_core/common/llib-lzfs_core
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2012 by Delphix. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libzfs_core.h>
diff --git a/usr/src/lib/libzfs_jni/common/llib-lzfs_jni b/usr/src/lib/libzfs_jni/common/llib-lzfs_jni
deleted file mode 100644
index 3e7aa11d57..0000000000
--- a/usr/src/lib/libzfs_jni/common/llib-lzfs_jni
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <libzfs_jni_main.h>
-#include <libzfs_jni_diskmgt.h>
diff --git a/usr/src/lib/libzonecfg/common/llib-lzonecfg b/usr/src/lib/libzonecfg/common/llib-lzonecfg
deleted file mode 100644
index ca868ee546..0000000000
--- a/usr/src/lib/libzonecfg/common/llib-lzonecfg
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libzonecfg.h>
diff --git a/usr/src/lib/libzoneinfo/common/llib-lzoneinfo b/usr/src/lib/libzoneinfo/common/llib-lzoneinfo
deleted file mode 100644
index ffc38c7c8d..0000000000
--- a/usr/src/lib/libzoneinfo/common/llib-lzoneinfo
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libzoneinfo.h>
diff --git a/usr/src/lib/libzonestat/common/llib-lzonestat b/usr/src/lib/libzonestat/common/llib-lzonestat
deleted file mode 100644
index 189214ce22..0000000000
--- a/usr/src/lib/libzonestat/common/llib-lzonestat
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <zonestat.h>
-
diff --git a/usr/src/lib/libzpool/common/llib-lzpool b/usr/src/lib/libzpool/common/llib-lzpool
deleted file mode 100644
index 43938533ca..0000000000
--- a/usr/src/lib/libzpool/common/llib-lzpool
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * Copyright (c) 2012, 2018 by Delphix. All rights reserved.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <sys/zfs_context.h>
-#include <sys/list.h>
-#include <sys/list_impl.h>
-#include <sys/sysmacros.h>
-#include <sys/debug.h>
-#include <sys/dmu_traverse.h>
-#include <sys/dnode.h>
-#include <sys/dsl_prop.h>
-#include <sys/dsl_dataset.h>
-#include <sys/dsl_scan.h>
-#include <sys/spa.h>
-#include <sys/spa_impl.h>
-#include <sys/space_map.h>
-#include <sys/vdev.h>
-#include <sys/vdev_impl.h>
-#include <sys/vdev_initialize.h>
-#include <sys/zap.h>
-#include <sys/zio.h>
-#include <sys/zio_compress.h>
-#include <sys/zil.h>
-#include <sys/bplist.h>
-#include <sys/zfs_znode.h>
-#include <sys/arc.h>
-#include <sys/dbuf.h>
-#include <sys/zio_checksum.h>
-#include <sys/ddt.h>
-#include <sys/sa.h>
-#include <sys/zfs_sa.h>
-#include <sys/zfeature.h>
-#include <sys/dmu_tx.h>
-#include <sys/dsl_destroy.h>
-#include <sys/dsl_userhold.h>
-#include <sys/blkptr.h>
-#include <sys/abd.h>
-#include <libcmdutils.h>
-
-extern uint64_t metaslab_force_ganging;
-extern uint64_t metaslab_df_alloc_threshold;
-extern boolean_t zfeature_checks_disable;
-extern uint64_t zfs_deadman_synctime_ms;
-extern int metaslab_preload_limit;
-extern boolean_t zfs_compressed_arc_enabled;
-extern boolean_t zfs_abd_scatter_enabled;
-extern boolean_t zfs_force_some_double_word_sm_entries;
diff --git a/usr/src/lib/mpapi/libmpapi/common/llib-lMPAPI b/usr/src/lib/mpapi/libmpapi/common/llib-lMPAPI
deleted file mode 100644
index 5fe92023db..0000000000
--- a/usr/src/lib/mpapi/libmpapi/common/llib-lMPAPI
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <mpapi.h>
-#include <mpapi-sun.h>
diff --git a/usr/src/lib/passwdutil/llib-lpasswdutil b/usr/src/lib/passwdutil/llib-lpasswdutil
deleted file mode 100644
index d01280531e..0000000000
--- a/usr/src/lib/passwdutil/llib-lpasswdutil
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 2001 by Sun Microsystems, Inc.
- * All rights reserved.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <passwdutil.h>
diff --git a/usr/src/lib/pkcs11/libkcfd/common/llib-lkcfd b/usr/src/lib/pkcs11/libkcfd/common/llib-lkcfd
deleted file mode 100644
index e0bf5cac2d..0000000000
--- a/usr/src/lib/pkcs11/libkcfd/common/llib-lkcfd
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*
- * usr/src/lib/pkcs11/libkcfd
- * EMPTY library
- */
-
-#include <security/cryptoki.h>
diff --git a/usr/src/lib/pkcs11/libpkcs11/common/llib-lpkcs11 b/usr/src/lib/pkcs11/libpkcs11/common/llib-lpkcs11
deleted file mode 100644
index 9c23f35ffc..0000000000
--- a/usr/src/lib/pkcs11/libpkcs11/common/llib-lpkcs11
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <security/cryptoki.h>
diff --git a/usr/src/lib/pkcs11/libsoftcrypto/common/llib-lsoftcrypto b/usr/src/lib/pkcs11/libsoftcrypto/common/llib-lsoftcrypto
deleted file mode 100644
index a32a15a267..0000000000
--- a/usr/src/lib/pkcs11/libsoftcrypto/common/llib-lsoftcrypto
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <bignum.h>
-#include <aes_cbc_crypt.h>
-#include <aes_impl.h>
-#include <arcfour.h>
-#include <blowfish_cbc_crypt.h>
-#include <blowfish_impl.h>
-#include <des_cbc_crypt.h>
-#include <des_impl.h>
-#include <dh_impl.h>
-#include <dsa_impl.h>
-#include <modes.h>
-#include <padding.h>
-#include <rsa_impl.h>
diff --git a/usr/src/lib/policykit/libpolkit/common/llib-lpolkit b/usr/src/lib/policykit/libpolkit/common/llib-lpolkit
deleted file mode 100644
index 5762753ad8..0000000000
--- a/usr/src/lib/policykit/libpolkit/common/llib-lpolkit
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <libpolkit/libpolkit.h>
diff --git a/usr/src/lib/print/libprint/common/llib-lprint b/usr/src/lib/print/libprint/common/llib-lprint
deleted file mode 100644
index c52143e527..0000000000
--- a/usr/src/lib/print/libprint/common/llib-lprint
+++ /dev/null
@@ -1,141 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <arpa/inet.h>
-#include <dirent.h>
-#include <dlfcn.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <libintl.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <pwd.h>
-#include <rpc/rpc.h>
-#include <rpcsvc/yp_prot.h>
-#include <rpcsvc/ypclnt.h>
-#include <signal.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/mman.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/systeminfo.h>
-#include <sys/types.h>
-#include <syslog.h>
-#include <unistd.h>
-
-void **list_append(void **, void *);
-void **list_append_unique(void **, void *, int (*)(void *, void*));
-void **list_concatenate(void **, void **);
-void * list_locate(void **, int (*)(void *, void *), void *);
-int list_iterate(void **, int (*)(void *, __va_list), ...);
-
-void *dynamic_function(const char *, const char *);
-
-struct ns_bsd_addr {
- char *server; /* server name */
- char *printer; /* printer name or NULL */
- char *extension; /* RFC-1179 conformance */
- char *pname; /* Local printer name */
-};
-typedef struct ns_bsd_addr ns_bsd_addr_t;
-
-/* Key/Value pair structure */
-struct ns_kvp {
- char *key; /* key */
- char *value; /* value string */
-};
-typedef struct ns_kvp ns_kvp_t;
-
-/* Printer Object structure */
-struct ns_printer {
- char *name; /* primary name of printer */
- char **aliases; /* aliases for printer */
- char *source; /* name service derived from */
- ns_kvp_t **attributes; /* key/value pairs. */
-};
-typedef struct ns_printer ns_printer_t;
-
-/* functions to get/put printer objects */
-ns_printer_t *ns_printer_create(char *, char **, char *, ns_kvp_t **);
-ns_printer_t *ns_printer_get_name(const char *, const char *);
-ns_printer_t **ns_printer_get_list(const char *);
-int ns_printer_put(const ns_printer_t *);
-void ns_printer_destroy(ns_printer_t *);
-
-/* functions to manipulate key/value pairs */
-void *ns_get_value(const char *, const ns_printer_t *);
-char *ns_get_value_string(const char *, const ns_printer_t *);
-int ns_set_value(const char *, const void *, ns_printer_t *);
-int ns_set_value_from_string(const char *, const char *,
- ns_printer_t *);
-ns_kvp_t *ns_kvp_create(const char *, const char *);
-
-/* for BSD bindings only */
-ns_bsd_addr_t *ns_bsd_addr_get_default(void);
-ns_bsd_addr_t *ns_bsd_addr_get_name(char *name);
-ns_bsd_addr_t **ns_bsd_addr_get_all(int);
-ns_bsd_addr_t **ns_bsd_addr_get_list(int);
-
-/* others */
-ns_printer_t *posix_name(const char *);
-int ns_printer_match_name(ns_printer_t *, const char *);
-char *ns_printer_name_list(const ns_printer_t *);
-char *value_to_string(const char *, void *);
-void *string_to_value(const char *, char *);
-
-
-ns_printer_t *_cvt_pconf_entry_to_printer(char *, char *);
-char *_cvt_printer_to_pconf_entry(ns_printer_t *);
-
-ns_printer_t *_cvt_user_string_to_printer(char *, char *);
-char *_cvt_printer_to_user_string(ns_printer_t *);
-
-
-ns_printer_t *_file_get_name(const char *, const char *,
- ns_printer_t *(*)(char *, char *), char *);
-
-ns_printer_t **_file_get_list(const char *,
- ns_printer_t *(*)(char *, char *), char *);
-
-int _file_put_printer(const char *, const ns_printer_t *,
- ns_printer_t *(*)(char *, char *), char *, char *(*)(ns_printer_t *));
-
-
-ns_printer_t *_nis_get_name(const char *, const char *,
- ns_printer_t *(*)(char *, char *), char *);
-
-ns_printer_t **_nis_get_list(const char *,
- ns_printer_t *(*)(char *, char *), char *);
-
-int _nis_put_printer(const char *, const ns_printer_t *,
- ns_printer_t *(*)(char *, char *), char *, char *(*)(ns_printer_t *));
diff --git a/usr/src/lib/scsi/libscsi/llib-lscsi b/usr/src/lib/scsi/libscsi/llib-lscsi
deleted file mode 100644
index 2c7111c8d1..0000000000
--- a/usr/src/lib/scsi/libscsi/llib-lscsi
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <scsi/libscsi.h>
diff --git a/usr/src/lib/scsi/libses/llib-lses b/usr/src/lib/scsi/libses/llib-lses
deleted file mode 100644
index c274b8ad3b..0000000000
--- a/usr/src/lib/scsi/libses/llib-lses
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <scsi/libses.h>
diff --git a/usr/src/lib/scsi/libsmp/llib-lsmp b/usr/src/lib/scsi/libsmp/llib-lsmp
deleted file mode 100644
index 3beb22f496..0000000000
--- a/usr/src/lib/scsi/libsmp/llib-lsmp
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- */
-
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <scsi/libsmp.h>
-#include <scsi/libsmp_plugin.h>
diff --git a/usr/src/lib/smbsrv/libfksmbsrv/common/llib-lfksmbsrv b/usr/src/lib/smbsrv/libfksmbsrv/common/llib-lfksmbsrv
deleted file mode 100644
index d18f2c6186..0000000000
--- a/usr/src/lib/smbsrv/libfksmbsrv/common/llib-lfksmbsrv
+++ /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 2013 Nexenta Systems, Inc. All rights reserved.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <smbsrv/smb_ioctl.h>
diff --git a/usr/src/lib/smbsrv/libmlsvc/common/llib-lmlsvc b/usr/src/lib/smbsrv/libmlsvc/common/llib-lmlsvc
deleted file mode 100644
index 412e13d740..0000000000
--- a/usr/src/lib/smbsrv/libmlsvc/common/llib-lmlsvc
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <smbsrv/libmlsvc.h>
diff --git a/usr/src/lib/smbsrv/libsmb/common/llib-lsmb b/usr/src/lib/smbsrv/libsmb/common/llib-lsmb
deleted file mode 100644
index e900ce8047..0000000000
--- a/usr/src/lib/smbsrv/libsmb/common/llib-lsmb
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <smbsrv/libsmb.h>
diff --git a/usr/src/lib/smbsrv/libsmbns/common/llib-lsmbns b/usr/src/lib/smbsrv/libsmbns/common/llib-lsmbns
deleted file mode 100644
index 5420d543b5..0000000000
--- a/usr/src/lib/smbsrv/libsmbns/common/llib-lsmbns
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <smbsrv/libsmbns.h>
diff --git a/usr/src/lib/smbsrv/libsmbrp/common/llib-lreparse_smb b/usr/src/lib/smbsrv/libsmbrp/common/llib-lreparse_smb
deleted file mode 100644
index 34f650da59..0000000000
--- a/usr/src/lib/smbsrv/libsmbrp/common/llib-lreparse_smb
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <smbsrv/smb_dfs.h>
diff --git a/usr/src/lib/smhba/common/llib-lSMHBAAPI b/usr/src/lib/smhba/common/llib-lSMHBAAPI
deleted file mode 100644
index 18e4b625cb..0000000000
--- a/usr/src/lib/smhba/common/llib-lSMHBAAPI
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-
-/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <smhbaapi.h>
diff --git a/usr/src/lib/storage/liba5k/common/llib-la5k b/usr/src/lib/storage/liba5k/common/llib-la5k
deleted file mode 100644
index 23cd8ccb73..0000000000
--- a/usr/src/lib/storage/liba5k/common/llib-la5k
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <sys/file.h>
-#include <sys/types.h>
-#include <sys/param.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <errno.h>
-#include <string.h>
-#include <sys/scsi/scsi.h>
-#include <nl_types.h>
-#include <strings.h>
-#include <sys/ddi.h> /* for max */
-#include <l_common.h>
-#include <stgcom.h>
-#include <l_error.h>
-#include <a_state.h>
-#include <a5k.h>
diff --git a/usr/src/lib/storage/libg_fc/common/llib-lg_fc b/usr/src/lib/storage/libg_fc/common/llib-lg_fc
deleted file mode 100644
index a631a610fe..0000000000
--- a/usr/src/lib/storage/libg_fc/common/llib-lg_fc
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License (the "License").
- * You may not use this file except in compliance with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-/*LINTLIBRARY*/
-/*PROTOLIB1*/
-
-#include <gfc.h>
diff --git a/usr/src/lib/udapl/libdat/common/llib-ldat b/usr/src/lib/udapl/libdat/common/llib-ldat
deleted file mode 100644
index 4bb868f403..0000000000
--- a/usr/src/lib/udapl/libdat/common/llib-ldat
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#include <dat/udat.h>