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
This commit is contained in:
Andreas Tobler
2006-07-04 22:21:40 +02:00
committed by Andreas Tobler
parent 706601d965
commit d25f0ebc38
5 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -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__ */
+1 -1
View File
@@ -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__ */