diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-08-02 13:24:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-08-02 13:24:47 +0000 |
commit | b83e24ec29ef98ff50f22b4029794034690e5936 (patch) | |
tree | 292bfe6203a43a6a42550e72d105bfdbde7273b5 /nuttx/include/fcntl.h | |
parent | 74bfeefc4708ef1937f464fa96afd09a8790ac4f (diff) | |
download | px4-nuttx-b83e24ec29ef98ff50f22b4029794034690e5936.tar.gz px4-nuttx-b83e24ec29ef98ff50f22b4029794034690e5936.tar.bz2 px4-nuttx-b83e24ec29ef98ff50f22b4029794034690e5936.zip |
Fix some ez80 compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2005 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/fcntl.h')
-rw-r--r-- | nuttx/include/fcntl.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/nuttx/include/fcntl.h b/nuttx/include/fcntl.h index 611a10d0a..48b94d33b 100644 --- a/nuttx/include/fcntl.h +++ b/nuttx/include/fcntl.h @@ -88,20 +88,14 @@ /* For posix fcntl() and lockf() */ -#define F_RDLCK 0 -#define F_WRLCK 1 -#define F_UNLCK 2 +#define F_RDLCK 0 /* Take out a read lease */ +#define F_WRLCK 1 /* Take out a write lease */ +#define F_UNLCK 2 /* Remove a lease */ /* close-on-exec flag for F_GETRL and F_SETFL */ #define FD_CLOEXEC 1 -/* Arguments to F_SETLEASE */ - -#define F_RDLCK 0 /* Take out a read lease */ -#define F_WRLCK 2 /* Take out a write lease */ -#define F_UNLCK 3 /* Remove a lease */ - /* These are the notifications that can be received from F_NOTIFY (linux) */ #define DN_ACCESS 0 /* A file was accessed */ |