]> sourceware.org Git - newlib-cygwin.git/commit
Make __sdidinit unused
authorMatt Joyce <matthew.joyce@embedded-brains.de>
Tue, 22 Feb 2022 10:18:38 +0000 (11:18 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 22 Feb 2022 11:38:46 +0000 (12:38 +0100)
commit44b60f0c4ba597c55dcac4f2d3119a3055c80ba1
treee5286802e8b24fcbb7437f00163daaab0f439f2c
parent054b00d96a81ca1169a1dd2d63d79b7ac03919ac
Make __sdidinit unused

Remove dependency on __sdidinit member of struct _reent to check
object initialization. Like __sdidinit, the __cleanup member of
struct _reent is initialized in the __sinit() function. Checking
initialization against __cleanup serves the same purpose and will
reduce overhead in the __sfp() function in a follow up patch.
14 files changed:
libgloss/aarch64/syscalls.c
libgloss/arm/syscalls.c
newlib/libc/include/sys/reent.h
newlib/libc/machine/spu/c99ppe.h
newlib/libc/machine/spu/stdio.c
newlib/libc/reent/reent.c
newlib/libc/stdio/findfp.c
newlib/libc/stdio/local.h
newlib/libc/stdio/setvbuf.c
newlib/libc/sys/arm/syscalls.c
winsup/cygwin/cygtls.cc
winsup/cygwin/cygtls.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/thread.cc
This page took 0.031789 seconds and 5 git commands to generate.