mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
bulk: Do not declare function prototypes using 'extern' keyword
By default, C function prototypes declared in headers are visible, so there is no need to declare them as 'extern' functions. Remove this redundancy in a single bulk commit; do not modify: - meson.build (used to check function availability at runtime) - pc-bios/ - libdecnumber/ - tests/ - *.c Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20230605175647.88395-5-philmd@linaro.org>
This commit is contained in:
parent
a7041adce0
commit
f703f1ef99
20 changed files with 79 additions and 86 deletions
|
@ -66,8 +66,8 @@ extern "C" {
|
|||
* setjmp to _setjmpex instead. However, they are still defined in libmingwex.a,
|
||||
* which gets linked automatically.
|
||||
*/
|
||||
extern int __mingw_setjmp(jmp_buf);
|
||||
extern void __attribute__((noreturn)) __mingw_longjmp(jmp_buf, int);
|
||||
int __mingw_setjmp(jmp_buf);
|
||||
void __attribute__((noreturn)) __mingw_longjmp(jmp_buf, int);
|
||||
#define setjmp(env) __mingw_setjmp(env)
|
||||
#define longjmp(env, val) __mingw_longjmp(env, val)
|
||||
#elif defined(_WIN64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue