about summary refs log tree commit diff
path: root/arch/mips
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-11-18 05:14:40 +0100
committerrofl0r <retnyg@gmx.net>2012-11-18 05:14:40 +0100
commit8d2887f88475bb26ff4d48b661e26265a74e73bb (patch)
treedf57471d3893d8e13e02b3feabc4727a5d350b28 /arch/mips
parentae67fe1aadb12db2d01eb7af0a3d837296216101 (diff)
downloadmusl-8d2887f88475bb26ff4d48b661e26265a74e73bb.tar.gz
musl-8d2887f88475bb26ff4d48b661e26265a74e73bb.tar.xz
musl-8d2887f88475bb26ff4d48b661e26265a74e73bb.zip
fcntl.h: O_SEARCH was missing for powerpc
put some macros that do not differ between architectures in the
main header and remove from bits.
restructure mips header so it has the same structure as the others.
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/bits/fcntl.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/arch/mips/bits/fcntl.h b/arch/mips/bits/fcntl.h
index 116852e2..c681d237 100644
--- a/arch/mips/bits/fcntl.h
+++ b/arch/mips/bits/fcntl.h
@@ -1,23 +1,20 @@
+#define O_CREAT        0400
+#define O_EXCL        02000
+#define O_NOCTTY      04000
+#define O_TRUNC       01000
 #define O_APPEND       0010
+#define O_NONBLOCK     0200
 #define O_DSYNC        0020
 #define O_SYNC       040020
 #define O_RSYNC      040020
-#define O_NONBLOCK     0200
-#define O_CREAT        0400
-#define O_TRUNC       01000
-#define O_EXCL        02000
-#define O_NOCTTY      04000
-#define O_ASYNC      010000
-#define O_LARGEFILE  020000
-#define O_DIRECT    0100000
 #define O_DIRECTORY 0200000
 #define O_NOFOLLOW  0400000
-#define O_NOATIME  01000000
 #define O_CLOEXEC  02000000
-#define O_PATH    010000000
-#define O_SEARCH  010000000
-#define O_EXEC    010000000
 
+#define O_ASYNC      010000
+#define O_DIRECT    0100000
+#define O_LARGEFILE  020000
+#define O_NOATIME  01000000
 #define O_NDELAY O_NONBLOCK
 
 #define F_DUPFD  0