diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-01 19:17:08 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-01 19:17:08 +0100 |
commit | 79a18447fe70c67d682bcf585c2234efca25f46a (patch) | |
tree | 5910043d684fc863381f3c77a89f262630c5dcbb /tools/xenstore/utils.h | |
parent | 71b66d78933833d09538c903ded167636acf8a59 (diff) | |
download | xen-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.h | 2 |
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) |