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

[Xen-changelog] [xen-unstable] Protect xen/stdarg.h for multiple inclusion.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1308237291 -3600
# Node ID a574bf2f5059069db9f43f2c5039b7676296db71
# Parent  de67ab2d53212831bca81c40130c781ef4a602cb
Protect xen/stdarg.h for multiple inclusion.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r de67ab2d5321 -r a574bf2f5059 xen/include/xen/stdarg.h
--- a/xen/include/xen/stdarg.h  Thu Jun 16 16:12:20 2011 +0100
+++ b/xen/include/xen/stdarg.h  Thu Jun 16 16:14:51 2011 +0100
@@ -1,3 +1,6 @@
+#ifndef __XEN_STDARG_H__
+#define __XEN_STDARG_H__
+
 #if defined(__OpenBSD__)
 #  include "/usr/include/stdarg.h"
 #elif defined (__NetBSD__)
@@ -8,3 +11,5 @@
 #else
 #  include <stdarg.h>
 #endif
+
+#endif /* __XEN_STDARG_H__ */

_______________________________________________
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®.