summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/ginclude/va-pa.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/ginclude/va-pa.h')
-rw-r--r--contrib/gcc/ginclude/va-pa.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/gcc/ginclude/va-pa.h b/contrib/gcc/ginclude/va-pa.h
index b6b81dd..4865f6b 100644
--- a/contrib/gcc/ginclude/va-pa.h
+++ b/contrib/gcc/ginclude/va-pa.h
@@ -4,7 +4,7 @@
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
-typedef double *__gnuc_va_list;
+typedef void *__gnuc_va_list;
#endif /* not __GNUC_VA_LIST */
/* If this is for internal libc use, don't define anything but
@@ -46,4 +46,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif
#define va_end(AP) ((void)0)
+/* Copy __gnuc_va_list into another variable of this type. */
+#define __va_copy(dest, src) (dest) = (src)
+
#endif /* defined (_STDARG_H) || defined (_VARARGS_H) */
OpenPOWER on IntegriCloud