mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-18 06:08:31 +03:00
have local stdio.h file to avoid newlib issues
... we should move to -nostdinc at some point :/
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
//#define TRACE_LEVEL 6
|
||||
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -59,10 +59,11 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// Global Variables
|
||||
//------------------------------------------------------------------------------
|
||||
//
|
||||
FILE* const stdin = NULL;
|
||||
FILE* const stdout = NULL;
|
||||
FILE* const stderr = NULL;
|
||||
|
||||
// Required for proper compilation.
|
||||
struct _reent r = {0, (FILE *) 0, (FILE *) 1, (FILE *) 0};
|
||||
struct _reent *_impure_ptr = &r;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Local Functions
|
||||
|
||||
Reference in New Issue
Block a user