aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-03-26 07:34:03 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1997-03-26 07:34:03 -0500
commit9d661e569a79a794ff4ccdd83a9c599fd035b8d7 (patch)
tree34a20a61c235d06b62362c965d57248d4363734a /gcc
parent20df0482b5ef474e00bdae865e6daf33b6fc6266 (diff)
downloadgcc-9d661e569a79a794ff4ccdd83a9c599fd035b8d7.zip
gcc-9d661e569a79a794ff4ccdd83a9c599fd035b8d7.tar.gz
gcc-9d661e569a79a794ff4ccdd83a9c599fd035b8d7.tar.bz2
(__va_copy): New definition.
From-SVN: r13804
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ginclude/stdarg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h
index 52bb645..f817c0b 100644
--- a/gcc/ginclude/stdarg.h
+++ b/gcc/ginclude/stdarg.h
@@ -94,6 +94,10 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
- ((sizeof (TYPE) < __va_rounded_size (char) \
? sizeof (TYPE) : __va_rounded_size (TYPE))))))
#endif /* big-endian */
+
+/* Copy __gnuc_va_list into another variable of this type. */
+#define __va_copy(dest, src) (dest) = (src)
+
#endif /* _STDARG_H */
#endif /* not sh */