Peter Naulls wrote:
[email protected] wrote:
Author: lee
Date: 2009-03-09 16:04:17 -0400 (Mon, 09 Mar 2009)
New Revision: 3759
Modified:
trunk/gcc4/riscos/soloader/dynamic/ld.so-1.9.9/d-link/linuxelf.h
Log:
Fix declaration.
Modified:
trunk/gcc4/riscos/soloader/dynamic/ld.so-1.9.9/d-link/linuxelf.h
===================================================================
---
trunk/gcc4/riscos/soloader/dynamic/ld.so-1.9.9/d-link/linuxelf.h
2009-02-24 08:43:57 UTC (rev 3758)
+++
trunk/gcc4/riscos/soloader/dynamic/ld.so-1.9.9/d-link/linuxelf.h
2009-03-09 20:04:17 UTC (rev 3759)
@@ -94,7 +94,7 @@
extern void _dl_riscos_resolve(void);
extern struct elf_resolve * _dl_load_shared_library(int secure,
- struct elf_resolve *, const char * libname);
+ struct elf_resolve *, char * libname);
Ugh. It's definitely a const, and those should be enforced where ever
possible in C, so the fix here is is the function, not the header
declaration.
Fair enough, but if you don't have the time to fix the function, then
you should probably leave the declaration alone, otherwise you end up
breaking things (r3711).
Lee.
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK