about summary refs log tree commit diff
path: root/src/thread
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-22 03:07:38 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-22 03:07:38 -0400
commitb8dda24fe1caa901a99580f7a52defb95aedb67c (patch)
treec986b69214816ed634c7285ab75b8a357e84aab2 /src/thread
parentf203b3511f4715695ee932049944c4922d5d3025 (diff)
downloadmusl-b8dda24fe1caa901a99580f7a52defb95aedb67c.tar.gz
musl-b8dda24fe1caa901a99580f7a52defb95aedb67c.tar.xz
musl-b8dda24fe1caa901a99580f7a52defb95aedb67c.zip
in visibility preinclude, remove overrides for stdin/stdout/stderr
the motivation for this change is that the extra declaration (with or
without visibility) using "struct _IO_FILE" instead of "FILE" seems to
trigger a bug in gcc 3.x where it considers the types mismatched.
however, this change also results in slightly better code and it is
valid because (1) these three objects are constant, and (2) applying
the & operator to any of them is invalid C, since they are not even
specified to be objects. thus it does not matter if the application
and libc see different addresses for them, as long as the (initial,
unchanging) value is seen the same by both.
Diffstat (limited to 'src/thread')
0 files changed, 0 insertions, 0 deletions