aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/utils.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-01 19:17:08 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-01 19:17:08 +0100
commit79a18447fe70c67d682bcf585c2234efca25f46a (patch)
tree5910043d684fc863381f3c77a89f262630c5dcbb /tools/xenstore/utils.h
parent71b66d78933833d09538c903ded167636acf8a59 (diff)
downloadxen-79a18447fe70c67d682bcf585c2234efca25f46a.tar.gz
xen-79a18447fe70c67d682bcf585c2234efca25f46a.tar.bz2
xen-79a18447fe70c67d682bcf585c2234efca25f46a.zip
xenstore: Do not assign to stdout/stderr/stdin - they are not
implemented as variables on all systems. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstore/utils.h')
-rw-r--r--tools/xenstore/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/utils.h b/tools/xenstore/utils.h
index ce14f3a408..f378343707 100644
--- a/tools/xenstore/utils.h
+++ b/tools/xenstore/utils.h
@@ -24,7 +24,7 @@ static inline bool strends(const char *a, const char *b)
void barf(const char *fmt, ...) __attribute__((noreturn));
void barf_perror(const char *fmt, ...) __attribute__((noreturn));
-void xprintf(const char *fmt, ...);
+void (*xprintf)(const char *fmt, ...);
#define eprintf(_fmt, _args...) xprintf("[ERR] %s" _fmt, __FUNCTION__, ##_args)