[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xsm: Do not use gcc-ism in public header file.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1248186896 -3600
# Node ID 761caae284d0704e3a689cabe5e74df527a0db28
# Parent  261f4a1276167195af6c6024f45c3f55a137caaf
xsm: Do not use gcc-ism in public header file.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 xen/include/public/xsm/acm.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 261f4a127616 -r 761caae284d0 xen/include/public/xsm/acm.h
--- a/xen/include/public/xsm/acm.h      Tue Jul 21 14:26:52 2009 +0100
+++ b/xen/include/public/xsm/acm.h      Tue Jul 21 15:34:56 2009 +0100
@@ -35,9 +35,9 @@
 /* #define ACM_DEBUG */
 
 #ifdef ACM_DEBUG
-#  define printkd(fmt, args...) printk(fmt,## args)
+#  define printkd(fmt, ...) printk(fmt, ##__VA_ARGS__)
 #else
-#  define printkd(fmt, args...)
+#  define printkd(fmt, ...)
 #endif
 
 /* default ssid reference value if not supplied */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.