diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-01-15 19:15:37 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-01-15 19:18:38 +0100 |
commit | a1830440fc93ecb531f003b524fec9249f020303 (patch) | |
tree | 2bea1916acf8dc016ff434ce8508c765cc370e2f /src/target | |
parent | 0fa403b51bfab1836113d560d8a5d8ba3c9e4ea6 (diff) |
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.
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/firmware/include/stdio.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdarg.h> |