summaryrefslogtreecommitdiff
path: root/sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-05-04 11:11:11 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-05-04 11:11:11 +0000
commit748d7f291a420935859239bc4d1b326404a67c38 (patch)
tree9fb99b1e82e4e2102c3edf8f23d64b7c220f4605 /sysutils/xen-guest-tools/files/patch-tools-xenstore-utils.h
parent- use new port net/webalizer-geodb (diff)
- fix build with -fno-common
Notes
Notes: svn path=/head/; revision=533914
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.h11
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)
+