From de3f6080aaf86c6ea0e59d0223934680d6fd1cc9 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 15 Jan 2017 19:15:37 +0100 Subject: define 'fprintf(stderr,' as a wrapper around printf( This is in preparation to work with a more recent version of libosmocore, which wants to print to stderr in some cases. --- src/target/firmware/include/stdio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/target/firmware/include/stdio.h b/src/target/firmware/include/stdio.h index 15ed6688..86f9333d 100644 --- a/src/target/firmware/include/stdio.h +++ b/src/target/firmware/include/stdio.h @@ -10,6 +10,7 @@ int printf(const char *format, ...); int sprintf(char *str, const char *format, ...); int snprintf(char *str, size_t size, const char *format, ...); +#define fprintf(fd, fmt, args...) printf(fmt, ## args) #include -- cgit v1.2.3