Skip to content

Commit b8b061b

Browse files
committed
Signed-off-by: Liviu Ionescu <[email protected]>
1 parent 21e223a commit b8b061b

File tree

1 file changed

+1
-7
lines changed
  • plugins/org.eclipse.embedcdt.templates.core/templates/common/system/src/newlib

1 file changed

+1
-7
lines changed

plugins/org.eclipse.embedcdt.templates.core/templates/common/system/src/newlib/syscalls.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -593,13 +593,7 @@ register char* stack_ptr asm ("sp");
593593

594594
/* following is copied from libc/stdio/local.h to check std streams */
595595
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)
596+
#define CHECK_INIT(ptr) _REENT_SMALL_CHECK_INIT(ptr)
603597

604598
static int monitor_stdin;
605599
static int monitor_stdout;

0 commit comments

Comments
 (0)