From 937ef9c4949018742dec93936c33e744c63b735e Mon Sep 17 00:00:00 2001 From: John Polstra Date: Fri, 28 Nov 1997 19:05:11 +0000 Subject: [PATCH] Remove the prototypes for dlopen and related functions. They don't belong here. The standard place for them is , and there is already another copy of the prototypes there. --- include/link.h | 11 +---------- sys/sys/link_aout.h | 11 +---------- sys/sys/link_elf.h | 11 +---------- 3 files changed, 3 insertions(+), 30 deletions(-) diff --git a/include/link.h b/include/link.h index 19c43a4dc36b..870e13d4d8fa 100644 --- a/include/link.h +++ b/include/link.h @@ -27,7 +27,7 @@ * (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: link.h,v 1.14 1997/08/02 04:56:43 jdp Exp $ + * $Id: link.h,v 1.15 1997/11/22 03:34:39 brian Exp $ */ /* @@ -183,15 +183,6 @@ struct ld_entry { void *(*dlsym3) __P((void *, const char *, void *)); /* HAS_DLSYM3 */ }; -/* - * dl*() prototypes. - */ -extern void *dlopen __P((const char *, int)); -extern int dlclose __P((void *)); -extern void *dlsym __P((void *, const char *)); -extern const char *dlerror __P((void)); - - /* * This is the structure pointed at by the __DYNAMIC symbol if an * executable requires the attention of the run-time link editor. diff --git a/sys/sys/link_aout.h b/sys/sys/link_aout.h index 19c43a4dc36b..870e13d4d8fa 100644 --- a/sys/sys/link_aout.h +++ b/sys/sys/link_aout.h @@ -27,7 +27,7 @@ * (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: link.h,v 1.14 1997/08/02 04:56:43 jdp Exp $ + * $Id: link.h,v 1.15 1997/11/22 03:34:39 brian Exp $ */ /* @@ -183,15 +183,6 @@ struct ld_entry { void *(*dlsym3) __P((void *, const char *, void *)); /* HAS_DLSYM3 */ }; -/* - * dl*() prototypes. - */ -extern void *dlopen __P((const char *, int)); -extern int dlclose __P((void *)); -extern void *dlsym __P((void *, const char *)); -extern const char *dlerror __P((void)); - - /* * This is the structure pointed at by the __DYNAMIC symbol if an * executable requires the attention of the run-time link editor. diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h index 19c43a4dc36b..870e13d4d8fa 100644 --- a/sys/sys/link_elf.h +++ b/sys/sys/link_elf.h @@ -27,7 +27,7 @@ * (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: link.h,v 1.14 1997/08/02 04:56:43 jdp Exp $ + * $Id: link.h,v 1.15 1997/11/22 03:34:39 brian Exp $ */ /* @@ -183,15 +183,6 @@ struct ld_entry { void *(*dlsym3) __P((void *, const char *, void *)); /* HAS_DLSYM3 */ }; -/* - * dl*() prototypes. - */ -extern void *dlopen __P((const char *, int)); -extern int dlclose __P((void *)); -extern void *dlsym __P((void *, const char *)); -extern const char *dlerror __P((void)); - - /* * This is the structure pointed at by the __DYNAMIC symbol if an * executable requires the attention of the run-time link editor.