diff options
author | Mathias Agopian <mathias@google.com> | 2011-09-27 22:30:19 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-09-28 12:17:34 -0700 |
commit | bda5da074eab4bdf374e1f4a19d480c62c72f5ff (patch) | |
tree | 87a4c2fd35e6b071476d4a5fd02aca7c61c6e3f9 /libdl | |
parent | 00964912745f0bb7e081f84ddcc74940f973149f (diff) | |
download | android_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.c | 2 |
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__ |