diff options
Diffstat (limited to 'sysdeps/unix/bsd/sun/sunos4')
-rw-r--r-- | sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (renamed from sysdeps/unix/bsd/sun/sunos4/fcntlbits.h) | 11 | ||||
-rw-r--r-- | sysdeps/unix/bsd/sun/sunos4/bits/resource.h (renamed from sysdeps/unix/bsd/sun/sunos4/resourcebits.h) | 0 | ||||
-rw-r--r-- | sysdeps/unix/bsd/sun/sunos4/bits/termios.h (renamed from sysdeps/unix/bsd/sun/sunos4/termbits.h) | 0 | ||||
-rw-r--r-- | sysdeps/unix/bsd/sun/sunos4/bits/utsname.h (renamed from sysdeps/unix/bsd/sun/sunos4/utsnamelen.h) | 0 | ||||
-rw-r--r-- | sysdeps/unix/bsd/sun/sunos4/sys/mman.h | 2 |
5 files changed, 5 insertions, 8 deletions
diff --git a/sysdeps/unix/bsd/sun/sunos4/fcntlbits.h b/sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h index a9f66c47a3..b74c80e170 100644 --- a/sysdeps/unix/bsd/sun/sunos4/fcntlbits.h +++ b/sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h @@ -17,9 +17,9 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef _FCNTLBITS_H - -#define _FCNTLBITS_H 1 +#ifndef _FCNTL_H +#error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." +#endif /* File access modes for `open' and `fcntl'. */ @@ -104,7 +104,7 @@ #define FD_CLOEXEC 1 /* Close on exec. */ -#include <gnu/types.h> +#include <bits/types.h> /* The structure describing an advisory lock. This is the type of the third argument to `fcntl' for the F_GETLK, F_SETLK, and F_SETLKW requests. */ @@ -140,6 +140,3 @@ struct eflock #define F_RDLCK 1 /* Read lock. */ #define F_WRLCK 2 /* Write lock. */ #define F_UNLCK 3 /* Remove lock. */ - - -#endif /* fcntlbits.h */ diff --git a/sysdeps/unix/bsd/sun/sunos4/resourcebits.h b/sysdeps/unix/bsd/sun/sunos4/bits/resource.h index ff55773e69..ff55773e69 100644 --- a/sysdeps/unix/bsd/sun/sunos4/resourcebits.h +++ b/sysdeps/unix/bsd/sun/sunos4/bits/resource.h diff --git a/sysdeps/unix/bsd/sun/sunos4/termbits.h b/sysdeps/unix/bsd/sun/sunos4/bits/termios.h index dc0a007208..dc0a007208 100644 --- a/sysdeps/unix/bsd/sun/sunos4/termbits.h +++ b/sysdeps/unix/bsd/sun/sunos4/bits/termios.h diff --git a/sysdeps/unix/bsd/sun/sunos4/utsnamelen.h b/sysdeps/unix/bsd/sun/sunos4/bits/utsname.h index e9111b6504..e9111b6504 100644 --- a/sysdeps/unix/bsd/sun/sunos4/utsnamelen.h +++ b/sysdeps/unix/bsd/sun/sunos4/bits/utsname.h diff --git a/sysdeps/unix/bsd/sun/sunos4/sys/mman.h b/sysdeps/unix/bsd/sun/sunos4/sys/mman.h index fb38c34d90..65771a2aac 100644 --- a/sysdeps/unix/bsd/sun/sunos4/sys/mman.h +++ b/sysdeps/unix/bsd/sun/sunos4/sys/mman.h @@ -22,7 +22,7 @@ #define _SYS_MMAN_H 1 #include <features.h> -#include <gnu/types.h> +#include <bits/types.h> #define __need_size_t #include <stddef.h> |