summaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/lib/obstack_printf.c
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2024-06-18 00:42:26 +0300
committerthegeorg <[email protected]>2024-06-18 00:54:57 +0300
commit48b20a3fd14d7be1800c37a6ddd0e905fedd3a40 (patch)
treed09aaef30fd251752e03faf586d96cf01181ac36 /contrib/tools/bison/lib/obstack_printf.c
parentee79f45c55f10fbaf591b5e0c51df7666c74b73c (diff)
Restore one bison patch
bison was broken on macOS in rXXXXXX f783cfcb7ea1e42c78e77b568091234050b15475
Diffstat (limited to 'contrib/tools/bison/lib/obstack_printf.c')
-rw-r--r--contrib/tools/bison/lib/obstack_printf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tools/bison/lib/obstack_printf.c b/contrib/tools/bison/lib/obstack_printf.c
index 6e34cc1b346..291dcd52a47 100644
--- a/contrib/tools/bison/lib/obstack_printf.c
+++ b/contrib/tools/bison/lib/obstack_printf.c
@@ -26,6 +26,8 @@
#include <stdarg.h>
#include <stdlib.h>
+int obstack_vprintf(struct obstack *obs, const char *format, va_list args);
+
/* Grow an obstack with formatted output. Return the number of bytes
added to OBS. No trailing nul byte is added, and the object should
be closed with obstack_finish before use.