aboutsummaryrefslogtreecommitdiff
path: root/tools/bison++/old.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bison++/old.c')
-rw-r--r--tools/bison++/old.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/bison++/old.c b/tools/bison++/old.c
new file mode 100644
index 000000000..bfaa77ef5
--- /dev/null
+++ b/tools/bison++/old.c
@@ -0,0 +1,6 @@
+/* JF changed to accept/deal with variable args.
+ DO NOT change this to use varargs. It will appear to work
+ but will break on systems that don't have the necessary library
+ functions. This is the ONLY safe way to write such a function. */
+/*VARARGS1*/
+#include <stdio.h>