summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-18 09:37:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-05-18 09:48:07 +0200
commit8e706de3a5750dd436ab0a284832af48a4bdb423 (patch)
treec82957119400440644c958cb0c8ada6141a70e41
parenttcpdump: Do not rely on u_char typedef (diff)
downloadrtems-libbsd-8e706de3a5750dd436ab0a284832af48a4bdb423.tar.bz2
libc: Avoid conflict with Newlib __sinit()
-rw-r--r--freebsd/lib/libc/stdio/local.h2
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 *);