aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test.c b/test.c
index 80b7ad7..f785483 100644
--- a/test.c
+++ b/test.c
@@ -294,6 +294,13 @@ fprintf(FILE *restrict stream, const char *restrict format, ...)
int
vfprintf(FILE *restrict stream, const char *restrict format, va_list ap)
{
+ return test_vfprintf(stream, format, ap);
+}
+
+
+int
+test_vfprintf(FILE *restrict stream, const char *restrict format, va_list ap)
+{
size_t old_alloc_fail_in = alloc_fail_in;
va_list ap2;
int r;