cleanup use of visibility attributes in pthread_cancel.c
authorRich Felker <dalias@aerifal.cx>
Tue, 14 Apr 2015 17:49:05 +0000 (13:49 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 14 Apr 2015 17:49:05 +0000 (13:49 -0400)
commit9c738dc183f44de40d263e4ff8dc540915a41aed
tree68b0b51718276e949bbeb729e6bc26e28bcdbfa1
parent7405cd1e2bafc046b4311005b94092d74a7a9c66
cleanup use of visibility attributes in pthread_cancel.c

applying the attribute to a weak_alias macro was a hack. instead use a
separate declaration to apply the visibility, and consolidate
declarations together to avoid having visibility mess all over the
file.
src/thread/pthread_cancel.c