aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-10-30 11:20:44 +0100
committerAndreas Schwab <schwab@redhat.com>2009-10-30 16:11:26 +0100
commitb0d7e71b8b7a5edd729ec413ad8b314ccb8fa400 (patch)
tree36e766e555aa397cc7514bc340e5bdd5612d42bf /sysdeps/unix/sysv/linux/sh/bits/fcntl.h
parent017dd87448e913383a8be5773569f218e8c661c5 (diff)
downloadglibc-b0d7e71b8b7a5edd729ec413ad8b314ccb8fa400.tar
glibc-b0d7e71b8b7a5edd729ec413ad8b314ccb8fa400.tar.gz
glibc-b0d7e71b8b7a5edd729ec413ad8b314ccb8fa400.tar.bz2
glibc-b0d7e71b8b7a5edd729ec413ad8b314ccb8fa400.zip
Revert "Fix F_GETOWN on some Linux archs." and "Define F_OWNER_* and f_owner_ex for Linux targets."
They depend on F_GETOWN_EX/F_SETOWN_EX.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh/bits/fcntl.h')
-rw-r--r--sysdeps/unix/sysv/linux/sh/bits/fcntl.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
index d1718a17c9..35ef665998 100644
--- a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for Linux.
- Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006, 2007, 2009
+ Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006, 2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -166,23 +166,6 @@ struct flock64
};
#endif
-#ifdef __USE_GNU
-/* Owner types. */
-enum __pid_type
- {
- F_OWNER_TID = 0, /* Kernel thread. */
- F_OWNER_PID, /* Process. */
- F_OWNER_GID /* Process group. */
- };
-
-/* Structure to use with F_GETOWN_EX and F_SETOWN_EX. */
-struct f_owner_ex
- {
- enum __pid_type type; /* Owner type of ID. */
- __pid_t pid; /* ID of owner. */
- };
-#endif
-
/* Define some more compatibility macros to be backward compatible with
BSD systems which did not managed to hide these kernel macros. */
#ifdef __USE_BSD