summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-05-11 14:27:25 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-05-11 14:56:51 +0900
commit233c2018f1b873a441af22848cee6dedaed3ad72 (patch)
tree74b30ad8ca8dd5c08a94660543c02a428b0e9464 /vm_core.h
parent534277fa7b3b8aa7c25db51af0c1b32e7dfa6139 (diff)
drop varargs.h support
This header file is simply out of date (for decades since at least 1989). It's the 21st century. Just stop using it.
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/vm_core.h b/vm_core.h
index 3d9b190c2d..e725e4d8d0 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -49,14 +49,7 @@
#include <stddef.h>
#include <signal.h>
-
-#ifdef HAVE_STDARG_PROTOTYPES
#include <stdarg.h>
-#define va_init_list(a,b) va_start((a),(b))
-#else
-#include <varargs.h>
-#define va_init_list(a,b) va_start((a))
-#endif
#include "ruby_assert.h"