Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Pull out some objlist functions in ldd.



details:   https://anonhg.NetBSD.org/src/rev/4940db450e5f
branches:  trunk
changeset: 537646:4940db450e5f
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri Oct 04 04:04:26 2002 +0000

description:
Pull out some objlist functions in ldd.

diffstat:

 libexec/ld.elf_so/load.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r e162f743f783 -r 4940db450e5f libexec/ld.elf_so/load.c
--- a/libexec/ld.elf_so/load.c  Fri Oct 04 04:01:13 2002 +0000
+++ b/libexec/ld.elf_so/load.c  Fri Oct 04 04:04:26 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: load.c,v 1.22 2002/10/04 04:01:13 mycroft Exp $         */
+/*     $NetBSD: load.c,v 1.23 2002/10/04 04:04:26 mycroft Exp $         */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -62,7 +62,6 @@
   SIMPLEQ_HEAD_INITIALIZER(_rtld_list_main);
 Objlist _rtld_list_global =    /* Objects dlopened with RTLD_GLOBAL */
   SIMPLEQ_HEAD_INITIALIZER(_rtld_list_global);
-#endif
 
 void
 _rtld_objlist_add(list, obj)
@@ -87,6 +86,7 @@
        }
        return NULL;
 }
+#endif
 
 /*
  * Load a shared object into memory, if it is not already loaded.  The



Home | Main Index | Thread Index | Old Index