summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-01-14 05:53:54 +0000
committerjdp <jdp@FreeBSD.org>1999-01-14 05:53:54 +0000
commitfc143890809d586da2d75c248fef561290e88c28 (patch)
tree0d8ee7ea04d48d0ce7fb0607de48c5d8d2ca51ec /include
parentfe1f1d68e3511c6037dd63ddfe116f76ac1be2a1 (diff)
downloadFreeBSD-src-fc143890809d586da2d75c248fef561290e88c28.zip
FreeBSD-src-fc143890809d586da2d75c248fef561290e88c28.tar.gz
Add a wrapper <linker_set.h> for <sys/linker_set.h>, so that
userland programs can use linker sets.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile4
-rw-r--r--include/linker_set.h34
2 files changed, 36 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile
index 89d825d..fd91482 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.88 1998/12/19 00:21:13 dt Exp $
+# $Id: Makefile,v 1.89 1998/12/23 11:50:52 dfr Exp $
#
# Doing a make install builds /usr/include
#
@@ -11,7 +11,7 @@ SUBDIR= rpcsvc
FILES= a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \
dlfcn.h elf.h err.h fnmatch.h fstab.h \
fts.h glob.h grp.h strhash.h histedit.h ieeefp.h iso646.h \
- kvm.h limits.h link.h locale.h malloc.h memory.h mpool.h \
+ kvm.h limits.h link.h linker_set.h locale.h malloc.h memory.h mpool.h \
ndbm.h netdb.h nl_types.h nlist.h objformat.h \
paths.h pthread.h pthread_np.h pwd.h \
ranlib.h regex.h regexp.h resolv.h rune.h runetype.h setjmp.h sgtty.h \
diff --git a/include/linker_set.h b/include/linker_set.h
new file mode 100644
index 0000000..3fa1e1d
--- /dev/null
+++ b/include/linker_set.h
@@ -0,0 +1,34 @@
+/*-
+ * Copyright (c) 1999 John D. Polstra.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
+ *
+ * $Id$
+ */
+
+#ifndef _LINKER_SET_H_
+#define _LINKER_SET_H_
+
+#include <sys/linker_set.h>
+
+#endif /* !_LINKER_SET_H_ */
OpenPOWER on IntegriCloud