summaryrefslogtreecommitdiff
path: root/libjava/win32.cc
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-04 20:21:40 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2006-07-04 20:21:40 +0000
commit0bb16596a70f2b323b2ae5015b109f22e66c3c3c (patch)
treedf79bd6e530999bef7480c314c71636a275971fc /libjava/win32.cc
parent46276eaf7f2f9828c238ed7bd49b02426a43b8e9 (diff)
downloadgcc-0bb16596a70f2b323b2ae5015b109f22e66c3c3c.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115184 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/win32.cc')
-rw-r--r--libjava/win32.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/win32.cc b/libjava/win32.cc
index a78f814c687..00b42796ce4 100644
--- a/libjava/win32.cc
+++ b/libjava/win32.cc
@@ -463,7 +463,7 @@ _Jv_platform_close_on_exec (HANDLE h)
// defined symbol to that address. Returns 0 if no object defines this
// address.
int
-_Jv_platform_dladdr (const void *addr, _Jv_AddrInfo *info)
+_Jv_platform_dladdr (void *addr, _Jv_AddrInfo *info)
{
// Since we do not have dladdr() on Windows, we use a trick involving
// VirtualQuery() to find the module (EXE or DLL) that contains a given