aboutsummaryrefslogtreecommitdiffstats
path: root/libdl
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-09-27 22:30:19 -0700
committerMathias Agopian <mathias@google.com>2011-09-28 12:17:34 -0700
commitbda5da074eab4bdf374e1f4a19d480c62c72f5ff (patch)
tree87a4c2fd35e6b071476d4a5fd02aca7c61c6e3f9 /libdl
parent00964912745f0bb7e081f84ddcc74940f973149f (diff)
downloadandroid_bionic-bda5da074eab4bdf374e1f4a19d480c62c72f5ff.tar.gz
android_bionic-bda5da074eab4bdf374e1f4a19d480c62c72f5ff.tar.bz2
android_bionic-bda5da074eab4bdf374e1f4a19d480c62c72f5ff.zip
fix prototype of dladdr
this breaks C++ source code in particular. Change-Id: Ie06b5d31d23b5455e6950c470adc64dd5e7784df
Diffstat (limited to 'libdl')
-rw-r--r--libdl/libdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdl/libdl.c b/libdl/libdl.c
index b36af1686..872c0c914 100644
--- a/libdl/libdl.c
+++ b/libdl/libdl.c
@@ -21,7 +21,7 @@
void *dlopen(const char *filename, int flag) { return 0; }
const char *dlerror(void) { return 0; }
void *dlsym(void *handle, const char *symbol) { return 0; }
-int dladdr(void *addr, Dl_info *info) { return 0; }
+int dladdr(const void *addr, Dl_info *info) { return 0; }
int dlclose(void *handle) { return 0; }
#ifdef __arm__