From dafca7fcbbe1849729008feacf13d9280bfc5898 Mon Sep 17 00:00:00 2001 From: kloczek Date: Mon, 28 Jan 2002 07:03:59 +0000 Subject: [PATCH] extern variables The appending of " = {0}" to extern variables causes trouble for nearly every compiler. Run cproto -e and it will generate code like extern const int foo = {0}; Changed files: cproto-varargs.patch -> 1.1 --- cproto-varargs.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cproto-varargs.patch diff --git a/cproto-varargs.patch b/cproto-varargs.patch new file mode 100644 index 0000000..01cf75a --- /dev/null +++ b/cproto-varargs.patch @@ -0,0 +1,10 @@ +--- cproto-4.6/grammar.y.orig Tue Jan 20 19:55:55 1998 ++++ cproto-4.6/grammar.y Mon Aug 13 18:39:07 2001 +@@ -835,6 +835,7 @@ + "__const__", "__const", + "__volatile__", "__volatile", + "__inline__", "__inline", ++ "__builtin_va_list", + #endif + }; + int i; -- 2.43.0