Displaying 1 result from an estimated 1 matches for "__xen_stdarg_h__".
2012 Jan 19
3
RFC PATCH: bring OpenBSD stdarg in line with FreeBSD one
...NetBSD.
I don''t have an OpenBSD box to test on, though. :( Any OpenBSD
enthusiasts care to comment?
Tim.
diff --git a/xen/include/xen/stdarg.h b/xen/include/xen/stdarg.h
index 57e2c0e..cb870ac 100644
--- a/xen/include/xen/stdarg.h
+++ b/xen/include/xen/stdarg.h
@@ -1,9 +1,7 @@
#ifndef __XEN_STDARG_H__
#define __XEN_STDARG_H__
-#if defined(__OpenBSD__)
-# include "/usr/include/stdarg.h"
-#elif defined (__NetBSD__)
+#if defined(__OpenBSD__) || defined(__NetBSD__)
typedef __builtin_va_list va_list;
# define va_start(ap, last) __builtin_stdarg_start((ap), (last))
# define va...