Skip to content

Commit 443e5ba

Browse files
committed
Standard comments are in C++ style.
1 parent 6fe00cb commit 443e5ba

File tree

1 file changed

+3
-3
lines changed
  • components/libc/posix/io/stdio

1 file changed

+3
-3
lines changed

components/libc/posix/io/stdio/stdio.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ int rt_posix_stdio_set_console(const char* device_name, int mode)
105105
}
106106

107107
#if defined(_REENT_SMALL) || !defined(__sdidinit)
108-
// Newlib >= 3.4.0 or small reent version: no __sdidinit field
109-
// Do nothing
108+
/* Newlib >= 3.4.0 or small reent version: no __sdidinit field */
109+
/* Do nothing */
110110
#else
111-
// Older newlib versions (typically < 3.4.0) still define __sdidinit
111+
/* Older newlib versions (typically < 3.4.0) still define __sdidinit */
112112
_GLOBAL_REENT->__sdidinit = 1;
113113
#endif
114114
}

0 commit comments

Comments
 (0)