about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-10-16 18:19:51 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-10-16 18:21:30 +0200
commiteb77a1fccc7e60cea32245c11288c7f1d92545fa (patch)
tree8ec5d5bd88d3ef01e515f4671fdce56a75f3d91e /include
parent58e8f5fd2ba47b6dc47fd4d0a35e4175c7c87aaa (diff)
downloadglibc-eb77a1fccc7e60cea32245c11288c7f1d92545fa.tar.gz
glibc-eb77a1fccc7e60cea32245c11288c7f1d92545fa.tar.xz
glibc-eb77a1fccc7e60cea32245c11288c7f1d92545fa.zip
dlfcn: Remove remnants of caller sensitivity from dlinfo
dlinfo operates on a specific handle, which means that there is no
caller sensivity involved.
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 0dc57dbe22..93dd369ab1 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -117,7 +117,7 @@ struct dlfcn_hook
   int (*dladdr) (const void *address, Dl_info *info);
   int (*dladdr1) (const void *address, Dl_info *info,
 		  void **extra_info, int flags);
-  int (*dlinfo) (void *handle, int request, void *arg, void *dl_caller);
+  int (*dlinfo) (void *handle, int request, void *arg);
   void *(*dlmopen) (Lmid_t nsid, const char *file, int mode, void *dl_caller);
   void *pad[4];
 };
@@ -143,8 +143,7 @@ extern int __dladdr (const void *address, Dl_info *info)
 extern int __dladdr1 (const void *address, Dl_info *info,
 		      void **extra_info, int flags)
      attribute_hidden;
-extern int __dlinfo (void *handle, int request, void *arg DL_CALLER_DECL)
-     attribute_hidden;
+extern int __dlinfo (void *handle, int request, void *arg) attribute_hidden;
 
 #ifndef SHARED
 struct link_map;