diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/bits/param.h | 13 | ||||
-rw-r--r-- | sysdeps/mach/hurd/i386/Makefile | 4 | ||||
-rw-r--r-- | sysdeps/mach/i386/bits/mach/param.h | 5 | ||||
-rw-r--r-- | sysdeps/unix/bsd/bits/signum.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/signum.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/param.h | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/signum.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/bits/signum.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/signum.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/bits/signum.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-align-clone.c | 5 |
12 files changed, 26 insertions, 19 deletions
diff --git a/sysdeps/mach/hurd/bits/param.h b/sysdeps/mach/hurd/bits/param.h index c288664b65..25875ce051 100644 --- a/sysdeps/mach/hurd/bits/param.h +++ b/sysdeps/mach/hurd/bits/param.h @@ -16,19 +16,16 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#ifndef _BITS_PARAM_H +#define _BITS_PARAM_H 1 + #ifndef _SYS_PARAM_H # error "Never use <bits/param.h> directly; include <sys/param.h> instead." #endif #include <bits/mach/param.h> -/* This file is deprecated and is provided only for compatibility with - Unix systems. It is unwise to include this file on programs which - are intended only for GNU systems. - - Parts from: - - * Copyright (c) 1982, 1986, 1989 The Regents of the University of California. +/* Copyright (c) 1982, 1986, 1989 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -85,3 +82,5 @@ #define FSHIFT 11 /* Bits to right of fixed binary point. */ #define FSCALE (1<<FSHIFT) + +#endif /* bits/param.h */ diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile index 2a7d138fff..aa23a4b209 100644 --- a/sysdeps/mach/hurd/i386/Makefile +++ b/sysdeps/mach/hurd/i386/Makefile @@ -36,7 +36,6 @@ test-xfail-UNIX98/aio.h/conform = yes test-xfail-UNIX98/ftw.h/conform = yes test-xfail-UNIX98/mqueue.h/conform = yes test-xfail-UNIX98/netinet/in.h/conform = yes -test-xfail-UNIX98/sys/wait.h/conform = yes test-xfail-UNIX98/sys/sem.h/conform = yes test-xfail-UNIX98/sys/uio.h/conform = yes test-xfail-UNIX98/sys/socket.h/conform = yes @@ -51,7 +50,6 @@ test-xfail-POSIX2008/regex.h/conform = yes test-xfail-POSIX2008/aio.h/conform = yes test-xfail-POSIX2008/mqueue.h/conform = yes test-xfail-POSIX2008/netinet/in.h/conform = yes -test-xfail-POSIX2008/sys/wait.h/conform = yes test-xfail-POSIX2008/sys/socket.h/conform = yes test-xfail-POSIX2008/sys/types.h/conform = yes test-xfail-POSIX2008/arpa/inet.h/conform = yes @@ -64,7 +62,6 @@ test-xfail-XOPEN2K/aio.h/conform = yes test-xfail-XOPEN2K/ftw.h/conform = yes test-xfail-XOPEN2K/mqueue.h/conform = yes test-xfail-XOPEN2K/netinet/in.h/conform = yes -test-xfail-XOPEN2K/sys/wait.h/conform = yes test-xfail-XOPEN2K/sys/sem.h/conform = yes test-xfail-XOPEN2K/sys/uio.h/conform = yes test-xfail-XOPEN2K/sys/socket.h/conform = yes @@ -80,7 +77,6 @@ test-xfail-XOPEN2K8/aio.h/conform = yes test-xfail-XOPEN2K8/ftw.h/conform = yes test-xfail-XOPEN2K8/mqueue.h/conform = yes test-xfail-XOPEN2K8/netinet/in.h/conform = yes -test-xfail-XOPEN2K8/sys/wait.h/conform = yes test-xfail-XOPEN2K8/sys/sem.h/conform = yes test-xfail-XOPEN2K8/sys/uio.h/conform = yes test-xfail-XOPEN2K8/sys/socket.h/conform = yes diff --git a/sysdeps/mach/i386/bits/mach/param.h b/sysdeps/mach/i386/bits/mach/param.h index 80d6f9ff2c..daa4b8ebaf 100644 --- a/sysdeps/mach/i386/bits/mach/param.h +++ b/sysdeps/mach/i386/bits/mach/param.h @@ -16,6 +16,9 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#ifndef _BITS_MACH_PARAM_H +#define _BITS_MACH_PARAM_H 1 + #ifndef _SYS_PARAM_H # error "Never use <bits/mach/param.h> directly; include <sys/param.h> instead." #endif @@ -23,3 +26,5 @@ #ifndef EXEC_PAGESIZE #define EXEC_PAGESIZE 4096 #endif + +#endif diff --git a/sysdeps/unix/bsd/bits/signum.h b/sysdeps/unix/bsd/bits/signum.h index a8d47af038..292782f7a6 100644 --- a/sysdeps/unix/bsd/bits/signum.h +++ b/sysdeps/unix/bsd/bits/signum.h @@ -19,7 +19,7 @@ #ifndef _BITS_SIGNUM_H #define _BITS_SIGNUM_H 1 -#ifndef _SIGNAL_H +#if !defined _SIGNAL_H && !defined _SYS_PARAM_H #error "Never include <bits/signum.h> directly; use <signal.h> instead." #endif diff --git a/sysdeps/unix/sysv/linux/alpha/bits/signum.h b/sysdeps/unix/sysv/linux/alpha/bits/signum.h index 63add0e3db..1cfa208dbe 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/signum.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/signum.h @@ -19,7 +19,7 @@ #ifndef _BITS_SIGNUM_H #define _BITS_SIGNUM_H 1 -#ifndef _SIGNAL_H +#if !defined _SIGNAL_H && !defined _SYS_PARAM_H #error "Never include <bits/signum.h> directly; use <signal.h> instead." #endif diff --git a/sysdeps/unix/sysv/linux/bits/param.h b/sysdeps/unix/sysv/linux/bits/param.h index 1ed5dbd70c..1557a1dc8f 100644 --- a/sysdeps/unix/sysv/linux/bits/param.h +++ b/sysdeps/unix/sysv/linux/bits/param.h @@ -16,6 +16,9 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#ifndef _BITS_PARAM_H +#define _BITS_PARAM_H 1 + #ifndef _SYS_PARAM_H # error "Never use <bits/param.h> directly; include <sys/param.h> instead." #endif @@ -40,3 +43,5 @@ and NCARGS anyway. */ #define NOFILE 256 #define NCARGS 131072 + +#endif /* bits/param.h */ diff --git a/sysdeps/unix/sysv/linux/bits/signum.h b/sysdeps/unix/sysv/linux/bits/signum.h index 423fd8be70..19646fedf8 100644 --- a/sysdeps/unix/sysv/linux/bits/signum.h +++ b/sysdeps/unix/sysv/linux/bits/signum.h @@ -19,7 +19,7 @@ #ifndef _BITS_SIGNUM_H #define _BITS_SIGNUM_H 1 -#ifndef _SIGNAL_H +#if !defined _SIGNAL_H && !defined _SYS_PARAM_H #error "Never include <bits/signum.h> directly; use <signal.h> instead." #endif diff --git a/sysdeps/unix/sysv/linux/hppa/bits/signum.h b/sysdeps/unix/sysv/linux/hppa/bits/signum.h index 2210304e37..8c9441e452 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/signum.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/signum.h @@ -19,7 +19,7 @@ #ifndef _BITS_SIGNUM_H #define _BITS_SIGNUM_H 1 -#ifndef _SIGNAL_H +#if !defined _SIGNAL_H && !defined _SYS_PARAM_H #error "Never include <bits/signum.h> directly; use <signal.h> instead." #endif diff --git a/sysdeps/unix/sysv/linux/mips/bits/signum.h b/sysdeps/unix/sysv/linux/mips/bits/signum.h index f5a5e7b4cd..05363d90f9 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/signum.h +++ b/sysdeps/unix/sysv/linux/mips/bits/signum.h @@ -19,7 +19,7 @@ #ifndef _BITS_SIGNUM_H #define _BITS_SIGNUM_H 1 -#ifndef _SIGNAL_H +#if !defined _SIGNAL_H && !defined _SYS_PARAM_H #error "Never include <bits/signum.h> directly; use <signal.h> instead." #endif diff --git a/sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c b/sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c index 953588929a..adbe427169 100644 --- a/sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c +++ b/sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/sysdeps/unix/sysv/linux/sparc/bits/signum.h b/sysdeps/unix/sysv/linux/sparc/bits/signum.h index 40fb39a435..42e721234e 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/signum.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/signum.h @@ -19,7 +19,7 @@ #ifndef _BITS_SIGNUM_H #define _BITS_SIGNUM_H 1 -#ifndef _SIGNAL_H +#if !defined _SIGNAL_H && !defined _SYS_PARAM_H #error "Never include <bits/signum.h> directly; use <signal.h> instead." #endif diff --git a/sysdeps/unix/sysv/linux/tst-align-clone.c b/sysdeps/unix/sysv/linux/tst-align-clone.c index 261ef9ed6f..2fe303de72 100644 --- a/sysdeps/unix/sysv/linux/tst-align-clone.c +++ b/sysdeps/unix/sysv/linux/tst-align-clone.c @@ -16,14 +16,15 @@ <https://www.gnu.org/licenses/>. */ #include <sched.h> +#include <signal.h> +#include <stackinfo.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <string.h> -#include <sys/wait.h> #include <unistd.h> +#include <sys/wait.h> #include <tst-stack-align.h> -#include <stackinfo.h> static int f (void *arg) |