move F_DUPFD_CLOEXEC out of bits
authorRich Felker <dalias@aerifal.cx>
Sun, 15 Apr 2012 21:05:10 +0000 (17:05 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 15 Apr 2012 21:05:10 +0000 (17:05 -0400)
fcntl values 1024 and up are universal, arch-independent. later I'll
add some of the other linux-specific ones for notify, leases, pipe
size, etc. here too.

arch/arm/bits/fcntl.h
arch/i386/bits/fcntl.h
arch/x86_64/bits/fcntl.h
include/fcntl.h

index da36c2f..fc65ebc 100644 (file)
@@ -31,5 +31,3 @@
 #define F_GETLK 12
 #define F_SETLK 13
 #define F_SETLKW 14
 #define F_GETLK 12
 #define F_SETLK 13
 #define F_SETLKW 14
-
-#define F_DUPFD_CLOEXEC 1030
index ab14652..7f09b95 100644 (file)
@@ -31,5 +31,3 @@
 #define F_GETLK 12
 #define F_SETLK 13
 #define F_SETLKW 14
 #define F_GETLK 12
 #define F_SETLK 13
 #define F_SETLKW 14
-
-#define F_DUPFD_CLOEXEC 1030
index 40062b5..7b30021 100644 (file)
@@ -31,5 +31,3 @@
 #define F_GETLK 5
 #define F_SETLK 6
 #define F_SETLKW 7
 #define F_GETLK 5
 #define F_SETLK 6
 #define F_SETLKW 7
-
-#define F_DUPFD_CLOEXEC 1030
index 1c18c6e..24678b2 100644 (file)
@@ -34,6 +34,8 @@ int posix_fallocate(int, off_t, off_t);
 #define O_WRONLY  01
 #define O_RDWR    02
 
 #define O_WRONLY  01
 #define O_RDWR    02
 
+#define F_DUPFD_CLOEXEC 1030
+
 #define F_RDLCK 0
 #define F_WRLCK 1
 #define F_UNLCK 2
 #define F_RDLCK 0
 #define F_WRLCK 1
 #define F_UNLCK 2