diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-06 06:36:15 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-07 21:41:27 -0700 |
commit | 058d0bf5f09a4488b6d7f3d3aa5fa0958e886c3b (patch) | |
tree | 2598979d6e4f681429b54cd6f3a31f4d84d112bd /sim/common/hw-device.c | |
parent | ad4106f8dd948bf04cb1c427124c711d3eb72766 (diff) | |
download | binutils-058d0bf5f09a4488b6d7f3d3aa5fa0958e886c3b.zip binutils-058d0bf5f09a4488b6d7f3d3aa5fa0958e886c3b.tar.gz binutils-058d0bf5f09a4488b6d7f3d3aa5fa0958e886c3b.tar.bz2 |
sim: bfin: gui: fix -Wunused-but-set-variable warnings
Rework the code to use static inline functions when it's disabled
rather than macros so the compiler knows the various function args
are always used. The ifdef macros are a bit ugly, but get the job
done without duplicating the function prototypes.
Diffstat (limited to 'sim/common/hw-device.c')
0 files changed, 0 insertions, 0 deletions