aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/lib.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-29 21:16:02 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-29 21:16:02 +0000
commit37d690f32810e3ce57f5c8e351e9ac5854e9b96f (patch)
tree812514a9ff75a0b48043231917ca597af9692c60 /xen/include/xen/lib.h
parent1abb530930be6fffbdc13ec727e4512571ff95ea (diff)
downloadxen-37d690f32810e3ce57f5c8e351e9ac5854e9b96f.tar.gz
xen-37d690f32810e3ce57f5c8e351e9ac5854e9b96f.tar.bz2
xen-37d690f32810e3ce57f5c8e351e9ac5854e9b96f.zip
Remove unused implementation of vsprintf().
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/lib.h')
-rw-r--r--xen/include/xen/lib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/include/xen/lib.h b/xen/include/xen/lib.h
index 44ad7874cc..5eca2b08c6 100644
--- a/xen/include/xen/lib.h
+++ b/xen/include/xen/lib.h
@@ -62,8 +62,7 @@ extern int printk_ratelimit(void);
/* vsprintf.c */
extern int sprintf(char * buf, const char * fmt, ...)
__attribute__ ((format (printf, 2, 3)));
-extern int vsprintf(char *buf, const char *, va_list)
- __attribute__ ((format (printf, 2, 0)));
+#define vsprintf __xen_has_no_vsprintf__
extern int snprintf(char * buf, size_t size, const char * fmt, ...)
__attribute__ ((format (printf, 3, 4)));
extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)