diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-05-18 09:37:10 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-05-18 09:48:33 +0200 |
commit | 453ff00b5b72c17aa4856bcbb5b11c9b9940eb66 (patch) | |
tree | 36e10b6790e3fb17060d589e49c038b9deeded3a /freebsd | |
parent | tcpdump: Do not rely on u_char typedef (diff) | |
download | rtems-libbsd-453ff00b5b72c17aa4856bcbb5b11c9b9940eb66.tar.bz2 |
libc: Avoid conflict with Newlib __sinit()
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/lib/libc/stdio/local.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 *); |