Skip to content

Commit e1aa582

Browse files
committed
Remove duplicate definitions
1 parent e513005 commit e1aa582

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

libc/include/llvm-libc-macros/linux/fcntl-macros.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@
4646
#define O_RDWR 00000002
4747
#define O_WRONLY 00000001
4848

49-
#define F_RDLCK 0
50-
#define F_WRLCK 1
51-
#define F_UNLCK 2
52-
5349
// Special directory FD to indicate that the path argument to
5450
// openat is relative to the current directory.
5551
#define AT_FDCWD -100
@@ -93,7 +89,7 @@
9389
#define F_CLOEXEC 1
9490

9591
#define F_RDLCK 0
96-
#define F_WRLOCK 1
92+
#define F_WRLCK 1
9793
#define F_UNLCK 2
9894

9995
// For Large File Support

0 commit comments

Comments
 (0)