Add a wrapper <linker_set.h> for <sys/linker_set.h>, so that

userland programs can use linker sets.
This commit is contained in:
John Polstra 1999-01-14 05:53:54 +00:00
parent 045205a869
commit a528ae5332
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42646
2 changed files with 36 additions and 2 deletions

View File

@ -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 \

34
include/linker_set.h Normal file
View File

@ -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_ */