diff mbox series

hppa: Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK

Message ID 15be3cf4-4222-a709-f4b8-41797364f155@bell.net
State Committed
Headers show
Series hppa: Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK | expand

Commit Message

John David Anglin Nov. 13, 2020, 4:39 p.m. UTC
Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK.

This is a small cleanup to make glibc match the current Linux kernel defines.
---
 sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
index 294d3b5191..47686099a7 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
@@ -24,14 +24,11 @@ 
 #define O_EXCL		00002000 /* not fcntl */
 #define O_NOCTTY	00400000 /* not fcntl */
 #define O_APPEND	00000010
-#define O_NONBLOCK	00200004 /* HPUX has separate NDELAY & NONBLOCK */
+#define O_NONBLOCK	00200000
 #define __O_DSYNC	01000000
-#define __O_RSYNC	02000000 /* HPUX only */
 #define __O_SYNC	00100000
 #define O_SYNC		(__O_SYNC|__O_DSYNC)

-#define O_BLKSEEK	00000100 /* HPUX only */
-
 #define __O_DIRECTORY	000010000 /* Must be a directory.  */
 #define __O_NOFOLLOW	000000200 /* Do not follow links.  */
 #define __O_CLOEXEC	010000000 /* Set close_on_exec.  */