summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2015-04-04 11:55:08 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:25 +0100
commit8f6cdbf1e60d882598cd649000d13cd9859d8cc9 (patch)
treec709b2f12e6d64856d56bc5904716f2a20350dd2 /proto.h
parentb84c9e384eb97f3ca12700ecadd22bac86f4fe64 (diff)
s/__va_copy/va_copy/g
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h10
1 files changed, 5 insertions, 5 deletions
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 <stdarg.h>
-/* 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