From: Ben Gras Date: Thu, 11 Dec 2008 14:10:56 +0000 (+0000) Subject: add va_copy() X-Git-Tag: v3.1.4~212 X-Git-Url: http://zhaoyanbai.com/repos/man.named-checkzone.html?a=commitdiff_plain;h=3f30c3a0ee7edd1d8d1ff753b38f4ed6da88f560;p=minix.git add va_copy() --- diff --git a/include/stdarg.h b/include/stdarg.h index 2dcc74517..c5ea6b9f4 100755 --- a/include/stdarg.h +++ b/include/stdarg.h @@ -80,6 +80,7 @@ typedef char *va_list; #define va_arg(ap, type) \ (*((type *)((va_list)((ap) = (void *)((va_list)(ap) + __vasz(type))) \ - __vasz(type)))) +#define va_copy(ap2, ap) (ap2) = (ap) #define va_end(ap) #endif /* __GNUC__ */