]> git.gag.com Git - fw/altos/commitdiff
altos: Adapt to picolibc 1.8.10 changes
authorKeith Packard <keithp@keithp.com>
Wed, 23 Apr 2025 18:26:48 +0000 (11:26 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 23 Apr 2025 18:37:08 +0000 (11:37 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_stdio.c

index 7f74f81194bcca5b1782c111c1d63b711b130e29..a7c5e252ac461a8b1cad48394535151edc237b45 100644 (file)
@@ -188,8 +188,6 @@ ao_flushc(FILE *ignore)
 
 static FILE __stdio = FDEV_SETUP_STREAM(ao_putc, ao_getc, ao_flushc, _FDEV_SETUP_RW);
 
-#ifdef PICOLIBC_STDIO_GLOBALS
-
 #ifdef __strong_reference
 #define STDIO_ALIAS(x) __strong_reference(stdin, x);
 #else
@@ -199,9 +197,3 @@ static FILE __stdio = FDEV_SETUP_STREAM(ao_putc, ao_getc, ao_flushc, _FDEV_SETUP
 FILE *const stdin = &__stdio;
 STDIO_ALIAS(stdout);
 STDIO_ALIAS(stderr);
-
-#else
-
-FILE *const __iob[3] = { &__stdio, &__stdio, &__stdio };
-
-#endif