mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00: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:
@ -51,10 +51,8 @@ do { \
|
||||
unlock_user(p1, arg1, 0); \
|
||||
} while (0)
|
||||
|
||||
extern struct iovec *lock_iovec(int type, abi_ulong target_addr, int count,
|
||||
int copy);
|
||||
extern void unlock_iovec(struct iovec *vec, abi_ulong target_addr, int count,
|
||||
int copy);
|
||||
struct iovec *lock_iovec(int type, abi_ulong target_addr, int count, int copy);
|
||||
void unlock_iovec(struct iovec *vec, abi_ulong target_addr, int count, int copy);
|
||||
|
||||
int safe_open(const char *path, int flags, mode_t mode);
|
||||
int safe_openat(int fd, const char *path, int flags, mode_t mode);
|
||||
|
Reference in New Issue
Block a user