On 20 Oct 2022 09:32, Tsukasa OI wrote: > This commit includes necessary header files and creates duplicated > declarations from other header files. > > Duplicated declarations are necessary on M32R because, despite that some > m32rbf functions are used by m32rx and m32r2, we cannot include two or more > CPU header files: "cpu.h", "cpux.h" and "cpu2.h". move/duplicate prototypes in a common header (e.g. m32r-sim.h) that both places will include, never put them into a C file itself. as written, there is no protection keeping the prototypes in sync. -mike