(dladdr): Change address argument to be const.
authordrepper <drepper>
Fri, 26 Sep 1997 23:20:08 +0000 (23:20 +0000)
committerdrepper <drepper>
Fri, 26 Sep 1997 23:20:08 +0000 (23:20 +0000)
elf/dlfcn.h

index 9db5fb4..825b484 100644 (file)
@@ -68,7 +68,7 @@ typedef struct
     __const char *dli_sname;   /* Name of nearest symbol.  */
     void *dli_saddr;           /* Exact value of nearest symbol.  */
   } Dl_info;
-extern int dladdr __P ((void *__address, Dl_info *__info));
+extern int dladdr __P ((const void *__address, Dl_info *__info));
 
 __END_DECLS