libc: Change __{stderr, stdout} to {stderr, stdout}

This commit is contained in:
apio 2022-10-14 19:23:14 +02:00
parent 3b83d7ccaf
commit 0e64c57e10
2 changed files with 7 additions and 7 deletions

View File

@ -13,16 +13,16 @@ typedef struct
int f_err;
} FILE;
extern FILE* stderr;
extern FILE* stdout;
#define stdout stdout
#define stderr stderr
typedef struct
{
long f_offset;
} fpos_t;
extern FILE* __stderr; // The standard error stream.
extern FILE* __stdout; // The standard output stream.
#define stderr __stderr
#define stdout __stdout
#ifdef __cplusplus
extern "C"
{

View File

@ -5,8 +5,8 @@
#include <stdlib.h>
#include <unistd.h>
FILE* __stderr;
FILE* __stdout;
FILE* stderr;
FILE* stdout;
extern "C"
{