From 453ff00b5b72c17aa4856bcbb5b11c9b9940eb66 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 18 May 2022 09:37:10 +0200 Subject: libc: Avoid conflict with Newlib __sinit() --- freebsd/lib/libc/stdio/local.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'freebsd') diff --git a/freebsd/lib/libc/stdio/local.h b/freebsd/lib/libc/stdio/local.h index bed0b232..6661f8de 100644 --- a/freebsd/lib/libc/stdio/local.h +++ b/freebsd/lib/libc/stdio/local.h @@ -84,7 +84,9 @@ extern int __sread(void *, char *, int); extern int __swrite(void *, char const *, int); extern fpos_t __sseek(void *, fpos_t, int); extern int __sclose(void *); +#ifndef __rtems__ extern void __sinit(void); +#endif /* __rtems__ */ extern void _cleanup(void); extern void __smakebuf(FILE *); extern int __swhatbuf(FILE *, size_t *, int *); -- cgit v1.2.3