diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-28 16:50:07 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-28 16:50:07 -0600 |
commit | 4c24c7c4a741eaeffc76339f07076cdad7a36c56 (patch) | |
tree | 337a94000f0e849884e81e8ac2ee188bf0a38179 /nuttx/configs/vsn | |
parent | e735773fe5ea269b43dbecb246cec846b3a0368e (diff) | |
download | px4-nuttx-4c24c7c4a741eaeffc76339f07076cdad7a36c56.tar.gz px4-nuttx-4c24c7c4a741eaeffc76339f07076cdad7a36c56.tar.bz2 px4-nuttx-4c24c7c4a741eaeffc76339f07076cdad7a36c56.zip |
Clean up some naming: fd vs. fildes vs. filedes and filep vs filp
Diffstat (limited to 'nuttx/configs/vsn')
-rw-r--r-- | nuttx/configs/vsn/src/sif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/vsn/src/sif.c b/nuttx/configs/vsn/src/sif.c index 2dacc6f69..6fa0be5a2 100644 --- a/nuttx/configs/vsn/src/sif.c +++ b/nuttx/configs/vsn/src/sif.c @@ -475,7 +475,7 @@ int devsif_close(FAR struct file *filep) } -static ssize_t devsif_read(FAR struct file *filp, FAR char *buffer, size_t len) +static ssize_t devsif_read(FAR struct file *filep, FAR char *buffer, size_t len) { sif_sem_wait(); memset(buffer, 0, len); @@ -484,7 +484,7 @@ static ssize_t devsif_read(FAR struct file *filp, FAR char *buffer, size_t len) } -static ssize_t devsif_write(FAR struct file *filp, FAR const char *buffer, size_t len) +static ssize_t devsif_write(FAR struct file *filep, FAR const char *buffer, size_t len) { sif_sem_wait(); printf("getpid: %d\n", getpid() ); @@ -494,7 +494,7 @@ static ssize_t devsif_write(FAR struct file *filp, FAR const char *buffer, size_ #ifndef CONFIG_DISABLE_POLL -static int devsif_poll(FAR struct file *filp, FAR struct pollfd *fds, +static int devsif_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup) { if (setup) { |