summaryrefslogtreecommitdiff
path: root/nuttx/include/sys
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-05 16:58:52 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-05 16:58:52 -0600
commit35330f6c7500f521280ec5c864d65164bbbc2ea5 (patch)
tree0e0c3b92fd0a9f3c088221b4cddeb67d283ba6c5 /nuttx/include/sys
parent37c80524e1e71319444a4da69931db88cf07a253 (diff)
downloadpx4-nuttx-35330f6c7500f521280ec5c864d65164bbbc2ea5.tar.gz
px4-nuttx-35330f6c7500f521280ec5c864d65164bbbc2ea5.tar.bz2
px4-nuttx-35330f6c7500f521280ec5c864d65164bbbc2ea5.zip
Fix some recently introduced typos, build problems, and warnings
Diffstat (limited to 'nuttx/include/sys')
-rw-r--r--nuttx/include/sys/syscall.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/include/sys/syscall.h b/nuttx/include/sys/syscall.h
index 34b06b986..755162a74 100644
--- a/nuttx/include/sys/syscall.h
+++ b/nuttx/include/sys/syscall.h
@@ -235,13 +235,13 @@
# define SYS_pread (__SYS_descriptors+4)
# define SYS_pwrite (__SYS_descriptors+5)
# ifdef CONFIG_FS_AIO
-# define SYS_aio_read (_SYS_descriptors+6)
-# define SYS_aio_write (_SYS_descriptors+7)
-# define SYS_aio_fsync (_SYS_descriptors+8)
-# define SYS_aio_cancel (_SYS_descriptors+9)
-# define __SYS_poll (_SYS_descriptors+10)
+# define SYS_aio_read (__SYS_descriptors+6)
+# define SYS_aio_write (__SYS_descriptors+7)
+# define SYS_aio_fsync (__SYS_descriptors+8)
+# define SYS_aio_cancel (__SYS_descriptors+9)
+# define __SYS_poll (__SYS_descriptors+10)
# else
-# define __SYS_poll (_SYS_descriptors+6)
+# define __SYS_poll (__SYS_descriptors+6)
# endif
# ifndef CONFIG_DISABLE_POLL
# define SYS_poll __SYS_poll