1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Remove tls.h inclusion from internal errno.h

The tls.h inclusion is not really required and limits possible
definition on more arch specific headers.

This is a cleanup to allow inline functions on sysdep.h, more
specifically on i386 and ia64 which requires to access some tls
definitions its own.

No semantic changes expected, checked with a build against all
affected ABIs.
This commit is contained in:
Adhemerval Zanella
2020-02-04 10:29:04 -03:00
parent 26f7c72a99
commit 01bd62517c
71 changed files with 83 additions and 70 deletions

View File

@ -16,9 +16,10 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
#include <sys/msg.h>
#include <stddef.h>
#include <ipc_priv.h>
#include <sysdep.h>
#include <errno.h>
/* Return an identifier for an shared memory segment of at least size SIZE
which is associated with KEY. */