mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
fb0cc53ef6
The device_error() takes a printf style string, so update the prototype accordingly. The message should be const and it should use an attribute. This fixes gcc warnings like: sim-core.c: In function 'sim_core_map_attach': sim-core.c:200: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:237: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c: In function 'sim_core_attach': sim-core.c:304: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:314: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:335: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:348: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type |
||
---|---|---|
.. | ||
arch.c | ||
arch.h | ||
ChangeLog | ||
config.in | ||
configure | ||
configure.ac | ||
cpuall.h | ||
cpuv10.c | ||
cpuv10.h | ||
cpuv32.c | ||
cpuv32.h | ||
cris-desc.c | ||
cris-desc.h | ||
cris-opc.h | ||
cris-sim.h | ||
cris-tmpl.c | ||
crisv10f.c | ||
crisv32f.c | ||
decodev10.c | ||
decodev10.h | ||
decodev32.c | ||
decodev32.h | ||
devices.c | ||
dv-cris.c | ||
dv-rv.c | ||
Makefile.in | ||
mloop.in | ||
modelv10.c | ||
modelv32.c | ||
rvdummy.c | ||
semcrisv10f-switch.c | ||
semcrisv32f-switch.c | ||
sim-if.c | ||
sim-main.h | ||
tconfig.in | ||
traps.c |