mirror of
https://git.proxmox.com/git/qemu
synced 2025-06-28 21:32:44 +00:00

'extern' qualifier is useless for function declarations. Delete them. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
17 lines
350 B
C
17 lines
350 B
C
#include <unistd.h>
|
|
|
|
#define STRINGIFY(x) #x
|
|
#define TOSTRING(x) STRINGIFY(x)
|
|
|
|
#define CURRENT_LOCATION __FILE__ ":" TOSTRING(__LINE__)
|
|
|
|
#define err() \
|
|
{ \
|
|
_fail("at " CURRENT_LOCATION " "); \
|
|
}
|
|
|
|
#define mb() asm volatile ("" : : : "memory")
|
|
|
|
void pass(void);
|
|
void _fail(char *reason);
|