diff options
Diffstat (limited to 'sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h')
-rw-r--r-- | sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h | 11 |
1 files changed, 11 insertions, 0 deletions
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) + |