Added fprintf fputc and _StdErr definitions

PX4 uses fprintf in numerous places but it is not supported by qurt.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2016-01-22 19:33:30 -08:00 committed by Julian Oes
parent a495e3442c
commit 1fff0d6d55

View File

@ -166,3 +166,15 @@ int write(int a, char const *b, int c)
{
return -1;
}
int fprintf(FILE *stream, const char *format, ...)
{
return 0;
}
int fputc(int c, FILE *stream)
{
return c;
}
FILE _Stderr;