restore attribute((const)) to pthread_self and errno location decls
authorRich Felker <dalias@aerifal.cx>
Tue, 16 Oct 2018 17:48:10 +0000 (13:48 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 16 Oct 2018 18:10:27 +0000 (14:10 -0400)
commitbf453d68393f7eea5965319e21311e56d71fa53c
tree3a71e0b3d8251b38863f71dbc634e3ed3dbba98d
parent1c84c99913bf1cd47b866ed31e665848a0da84a2
restore attribute((const)) to pthread_self and errno location decls

revert commit a603a75a72bb469c6be4963ed1b55fabe675fe15.

as a result of commit 1c84c99913bf1cd47b866ed31e665848a0da84a2 this is
now safe, assuming an interpretation of the somewhat-underspecified
attribute((const)) consistent with real-world usage.
include/errno.h
include/netdb.h
include/pthread.h