From 748d7f291a420935859239bc4d1b326404a67c38 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 4 May 2020 11:11:11 +0000 Subject: - fix build with -fno-common --- sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h (limited to 'sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h') diff --git a/sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h b/sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h new file mode 100644 index 000000000000..3086dcd09fdd --- /dev/null +++ b/sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h @@ -0,0 +1,11 @@ +--- tools/xenstore/utils.h.orig 2019-12-17 14:23:09 UTC ++++ tools/xenstore/utils.h +@@ -24,7 +24,7 @@ static inline bool strends(const char *a, const char * + void barf(const char *fmt, ...) __attribute__((noreturn)); + void barf_perror(const char *fmt, ...) __attribute__((noreturn)); + +-void (*xprintf)(const char *fmt, ...); ++extern void (*xprintf)(const char *fmt, ...); + + #define eprintf(_fmt, _args...) xprintf("[ERR] %s" _fmt, __FUNCTION__, ##_args) + -- cgit v1.2.3