diff options
author | Tom de Vries <tdevries@suse.de> | 2021-05-19 17:46:24 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-05-19 17:46:24 +0200 |
commit | 4156e38676b80a5816fde4d5def1bedea6e1c5ab (patch) | |
tree | ff61ba283c4a160592a5d59252c1325fd7c8c5f4 /sim/ppc/sim_callbacks.h | |
parent | 8f09aa5ba86b4a57972c0b99d7063a3a0d0b2550 (diff) | |
download | gdb-4156e38676b80a5816fde4d5def1bedea6e1c5ab.zip gdb-4156e38676b80a5816fde4d5def1bedea6e1c5ab.tar.gz gdb-4156e38676b80a5816fde4d5def1bedea6e1c5ab.tar.bz2 |
sim: ppc: fix some more Wunused-function warnings
When compiling with --enable-werror and CFLAGS="-O0 -g -Wall", we run into:
...
In file included from src/sim/ppc/cpu.h:26:0,
from src/sim/ppc/mon.c:25,
from src/sim/ppc/inline.c:64,
from idecode.c:26:
src/sim/ppc/device.h:788:8: error: 'device_event_queue_deschedule' \
declared 'static' but never defined [-Werror=unused-function]
(void) device_event_queue_deschedule
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
This seems to be caused by the fact that the function is declared using
INLINE_EVENT instead of INLINE_DEVICE.
Fix this and a similar error in the same file.
Diffstat (limited to 'sim/ppc/sim_callbacks.h')
0 files changed, 0 insertions, 0 deletions