diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-03-20 14:21:29 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-08-31 19:47:43 +0200 |
| commit | f703f1ef99bea3a00eb9b8c321443eab507e7e63 (patch) | |
| tree | 52a9eaf57b82000c06f9a4436740b6e659a70cbf /include/hw/misc/aspeed_scu.h | |
| parent | a7041adce08c3cbe52d70c0229cbec4167b358e3 (diff) | |
| download | focaccia-qemu-f703f1ef99bea3a00eb9b8c321443eab507e7e63.tar.gz focaccia-qemu-f703f1ef99bea3a00eb9b8c321443eab507e7e63.zip | |
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>
Diffstat (limited to 'include/hw/misc/aspeed_scu.h')
| -rw-r--r-- | include/hw/misc/aspeed_scu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/misc/aspeed_scu.h b/include/hw/misc/aspeed_scu.h index 5c7c04eedf..7cb6018dbc 100644 --- a/include/hw/misc/aspeed_scu.h +++ b/include/hw/misc/aspeed_scu.h @@ -51,7 +51,7 @@ struct AspeedSCUState { #define ASPEED_IS_AST2500(si_rev) ((((si_rev) >> 24) & 0xff) == 0x04) -extern bool is_supported_silicon_rev(uint32_t silicon_rev); +bool is_supported_silicon_rev(uint32_t silicon_rev); struct AspeedSCUClass { |