diff options
author | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-09-24 09:11:52 +0000 |
---|---|---|
committer | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-10-29 08:13:15 +0000 |
commit | 9b77569146a8ec354a6010497049428d2a9ceb1d (patch) | |
tree | 2032bdf9097cdb7efd3b44ca8f65399be04e9ac0 /gas/remap.c | |
parent | 45f8296e6965ff4e2ca855e995149add6352645d (diff) | |
download | gdb-9b77569146a8ec354a6010497049428d2a9ceb1d.zip gdb-9b77569146a8ec354a6010497049428d2a9ceb1d.tar.gz gdb-9b77569146a8ec354a6010497049428d2a9ceb1d.tar.bz2 |
sim/sh: Remove redundant function declaration
Clang generates a warning if there is a function declaration/definition
with zero arguments. Such declarations/definitions without a prototype (an
argument list) are deprecated forms of indefinite arguments
("-Wdeprecated-non-prototype"). On the default configuration, it causes a
build failure (unless "--disable-werror" is specified).
But there is another issue. This function declaration in sim/sh/interp.c
is completely redundant. This commit just removes that declaration.
Diffstat (limited to 'gas/remap.c')
0 files changed, 0 insertions, 0 deletions