We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e223a commit b8b061bCopy full SHA for b8b061b
plugins/org.eclipse.embedcdt.templates.core/templates/common/system/src/newlib/syscalls.c
@@ -593,13 +593,7 @@ register char* stack_ptr asm ("sp");
593
594
/* following is copied from libc/stdio/local.h to check std streams */
595
extern void __sinit(struct _reent*);
596
-#define CHECK_INIT(ptr) \
597
- do \
598
- { \
599
- if ((ptr) && !(ptr)->__sdidinit) \
600
- __sinit (ptr); \
601
- } \
602
- while (0)
+#define CHECK_INIT(ptr) _REENT_SMALL_CHECK_INIT(ptr)
603
604
static int monitor_stdin;
605
static int monitor_stdout;
0 commit comments