From a528ae5332eb4cd5aa7277efe21e516d2de1b3d5 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Thu, 14 Jan 1999 05:53:54 +0000 Subject: [PATCH] Add a wrapper for , so that userland programs can use linker sets. --- include/Makefile | 4 ++-- include/linker_set.h | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 include/linker_set.h diff --git a/include/Makefile b/include/Makefile index 89d825d9762a..fd9148216e67 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 000000000000..3fa1e1ded5f7 --- /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 + +#endif /* !_LINKER_SET_H_ */