diff options
Diffstat (limited to 'test/mppa/lib/printf.c')
-rw-r--r-- | test/mppa/lib/printf.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/mppa/lib/printf.c b/test/mppa/lib/printf.c new file mode 100644 index 00000000..79984ef6 --- /dev/null +++ b/test/mppa/lib/printf.c @@ -0,0 +1,9 @@ +#include <stdio.h> +#include <stdarg.h> + +int __wrap_printf(const char *format, ...){ + va_list args; + va_start(args, format); + vprintf(format, args); + va_end(args); +} |