diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-24 11:56:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-24 14:52:32 +0200 |
commit | 376b24055cb901d8e43515339eddc7a242daf521 (patch) | |
tree | 58ba68073a27f81e17449a0ee3fa9bb69c88a7df | |
parent | Define IN_HISTORICAL_NETS for kernel space (diff) | |
download | rtems-libbsd-376b24055cb901d8e43515339eddc7a242daf521.tar.bz2 |
stdio/local.h: Make Newlib config independent
-rw-r--r-- | freebsd/lib/libc/stdio/local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/lib/libc/stdio/local.h b/freebsd/lib/libc/stdio/local.h index 6661f8de..5ec1d3f5 100644 --- a/freebsd/lib/libc/stdio/local.h +++ b/freebsd/lib/libc/stdio/local.h @@ -78,7 +78,7 @@ extern int __srefill(FILE *); */ extern int __srefill_r(struct _reent *,FILE *); -#define __srefill(_x) __srefill_r(__getreent(), _x) +#define __srefill(_x) __srefill_r(_REENT, _x) #endif /* __rtems__ */ extern int __sread(void *, char *, int); extern int __swrite(void *, char const *, int); |