Update.
[platform/upstream/glibc.git] / dlfcn / dlopenold.c
similarity index 96%
rename from elf/dlopenold.c
rename to dlfcn/dlopenold.c
index 661a405..f453cfb 100644 (file)
@@ -18,8 +18,6 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <dlfcn.h>
-#include <stddef.h>
-#include <elf/ldsodefs.h>
 
 /* This file is for compatibility with glibc 2.0.  Compile it only if
    versioning is used.  */
@@ -31,7 +29,7 @@ struct dlopen_args
   const char *file;
   int mode;
   /* The return value of dlopen_doit.  */
-  struct link_map *new;
+  void *new;
   /* Address of the caller.  */
   const void *caller;
 };
@@ -45,7 +43,6 @@ dlopen_doit (void *a)
   args->new = _dl_open (args->file ?: "", args->mode, args->caller);
 }
 
-
 void *
 __dlopen_nocheck (const char *file, int mode)
 {