binutils-gdb/sim/testsuite
Dimitar Dimitrov b83808a8a2 sim: Fix compile errors
The following change broke simulator testsuite with host GCC 13:
  commit 435ad222b3
  sim: warnings: compile build tools with -Werror too

Host GCC13 complains about missing function prototypes:

binutils/sim/testsuite/common/bits-gen.c:26:1: error: no previous prototype for ‘gen_struct’ [-Werror=missing-prototypes]
   26 | gen_struct (void)
      | ^~~~~~~~~~

Fix by making the functions static, which instructs the compiler that
there is no need for a prototype.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2024-01-12 21:48:25 +02:00
..
aarch64
arm
avr
bfin
bpf sim: bpf: do not use semicolon to begin comments 2023-11-28 15:01:18 +01:00
common sim: Fix compile errors 2024-01-12 21:48:25 +02:00
config
cr16
cris Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
d10v
example-synacor
frv
ft32
h8300
iq2000
lib sim prune_warnings 2023-08-19 12:41:32 +09:30
lm32
m32c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
m32r
m68hc11
mcore Yet another fix for mcore-sim (rotli) 2023-12-18 22:04:25 -07:00
microblaze
mips Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
mn10300
moxie
msp430
or1k Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
pru Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
riscv sim/riscv: fix JALR instruction simulation 2023-10-18 17:55:31 +01:00
sh
v850
.gitignore
ChangeLog-2021
local.mk Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00