From 8f6cdbf1e60d882598cd649000d13cd9859d8cc9 Mon Sep 17 00:00:00 2001 From: Toby Goodwin Date: Sat, 4 Apr 2015 11:55:08 +0100 Subject: s/__va_copy/va_copy/g --- proto.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index 3f1e05b..4a2d74a 100644 --- a/proto.h +++ b/proto.h @@ -23,11 +23,11 @@ typedef long align_t; #include -/* C 9x specifies a __va_copy() macro which should be used for copying -objects of type va_list. Of course, most places don't have this yet, -but where it does exist we need to use it. */ -#ifndef __va_copy -#define __va_copy(x,y) (x)=(y) +/* C 99 specifies a va_copy() macro to be used for copying +objects of type va_list. If this doesn't exist, hope that simple +assignment works. */ +#ifndef va_copy +#define va_copy(x,y) (x)=(y) #endif #if STDC_HEADERS -- cgit v1.2.3