diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2006-07-04 22:21:40 +0200 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2006-07-04 22:21:40 +0200 |
commit | d25f0ebc386ed1a8579c54e3b7d815633daaee1d (patch) | |
tree | df79bd6e530999bef7480c314c71636a275971fc /libjava/include | |
parent | 706601d965756f53d473d8b173c788cefc9b2917 (diff) | |
download | gcc-d25f0ebc386ed1a8579c54e3b7d815633daaee1d.zip gcc-d25f0ebc386ed1a8579c54e3b7d815633daaee1d.tar.gz gcc-d25f0ebc386ed1a8579c54e3b7d815633daaee1d.tar.bz2 |
re PR libgcj/28226 (posix.cc:222: error: invalid conversion from 'const void*' to 'void*')
2006-07-04 Andreas Tobler <a.tobler@schweiz.ch>
PR libgcj/28226:
* include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
* include/win32.h (_Jv_platform_dladdr): Likewise.
* posix.cc (_Jv_platform_dladdr): Likewise.
* win32.cc (_Jv_platform_dladdr): Likewise.
From-SVN: r115184
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/posix.h | 2 | ||||
-rw-r--r-- | libjava/include/win32.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h index 15795dd..ea4762c 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -199,6 +199,6 @@ struct _Jv_AddrInfo; // Given an address, determine the executable or shared object that defines // it and the nearest named symbol. -extern int _Jv_platform_dladdr (const void *addr, _Jv_AddrInfo *info); +extern int _Jv_platform_dladdr (void *addr, _Jv_AddrInfo *info); #endif /* __JV_POSIX_H__ */ diff --git a/libjava/include/win32.h b/libjava/include/win32.h index 26c307c..a461d88 100644 --- a/libjava/include/win32.h +++ b/libjava/include/win32.h @@ -180,6 +180,6 @@ struct _Jv_AddrInfo; // Given an address, determine the executable or shared object that defines // it and the nearest named symbol. -extern int _Jv_platform_dladdr (const void *addr, _Jv_AddrInfo *info); +extern int _Jv_platform_dladdr (void *addr, _Jv_AddrInfo *info); #endif /* __JV_WIN32_H__ */ |