diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-30 21:59:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-30 21:59:12 +0000 |
commit | 6706284921ae317e32f5e391d401f8eaa3d6e3a5 (patch) | |
tree | 24bf36306b92e1b6f6b01c4acdec3e7abeae9f2c /nuttx/include/fcntl.h | |
parent | 013eef130f1bc2cab1e3f4022d8498fb98bb29bf (diff) | |
download | px4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.tar.gz px4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.tar.bz2 px4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.zip |
Fix z16f addressing issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@592 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/fcntl.h')
-rw-r--r-- | nuttx/include/fcntl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/include/fcntl.h b/nuttx/include/fcntl.h index 10780da2c..b4f0aa82a 100644 --- a/nuttx/include/fcntl.h +++ b/nuttx/include/fcntl.h @@ -112,11 +112,11 @@ struct flock { - short l_type; /* Type of lock: F_RDLCK, F_WRLCK, F_UNLCK */ - short l_whence; /* How to interpret l_start: SEEK_SET, SEEK_CUR, SEEK_END */ - off_t l_start; /* Starting offset for lock */ - off_t l_len; /* Number of bytes to lock */ - pid_t l_pid; /* PID of process blocking our lock (F_GETLK only) */ + sint16 l_type; /* Type of lock: F_RDLCK, F_WRLCK, F_UNLCK */ + sint16 l_whence; /* How to interpret l_start: SEEK_SET, SEEK_CUR, SEEK_END */ + off_t l_start; /* Starting offset for lock */ + off_t l_len; /* Number of bytes to lock */ + pid_t l_pid; /* PID of process blocking our lock (F_GETLK only) */ }; /******************************************************************************** |