diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-23 14:42:52 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-23 14:42:52 +0100 |
commit | df8899751874cf3aaf1837722782636b3fba6fba (patch) | |
tree | eb7e3f2b6be8eca9f6f3418feebd3f043fd5e711 /xen/include/xen/lib.h | |
parent | 63175f19937279f5fc4526af8de976ee01136d80 (diff) | |
download | xen-df8899751874cf3aaf1837722782636b3fba6fba.tar.gz xen-df8899751874cf3aaf1837722782636b3fba6fba.tar.bz2 xen-df8899751874cf3aaf1837722782636b3fba6fba.zip |
[XEN] Remove definition of printf. All users are switched to printk.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/lib.h')
-rw-r--r-- | xen/include/xen/lib.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/include/xen/lib.h b/xen/include/xen/lib.h index 52509addd4..f333c3f14b 100644 --- a/xen/include/xen/lib.h +++ b/xen/include/xen/lib.h @@ -51,8 +51,7 @@ extern void debugtrace_printk(const char *fmt, ...); /* Allows us to use '%p' as general-purpose machine-word format char. */ #define _p(_x) ((void *)(unsigned long)(_x)) -#define printk(_f , _a...) printf( _f , ## _a ) -extern void printf(const char *format, ...) +extern void printk(const char *format, ...) __attribute__ ((format (printf, 1, 2))); extern void panic(const char *format, ...) __attribute__ ((format (printf, 1, 2))); |