summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-05 15:44:43 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-05 15:44:43 -0600
commit81cbb59cd0297bd06cc8ce8a9a79f5a38ce952bd (patch)
treea16d7905d89f8faaf5de65296fe904eca7f73aab /apps/examples
parentac0d1157e949312857d1abaf1b6515ad64c7d209 (diff)
downloadpx4-nuttx-81cbb59cd0297bd06cc8ce8a9a79f5a38ce952bd.tar.gz
px4-nuttx-81cbb59cd0297bd06cc8ce8a9a79f5a38ce952bd.tar.bz2
px4-nuttx-81cbb59cd0297bd06cc8ce8a9a79f5a38ce952bd.zip
Rename CONFIG_LIBC_AIO to CONFIG_FS_AIO since it is now an OS property
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/ostest/Kconfig2
-rw-r--r--apps/examples/ostest/aio.c4
-rw-r--r--apps/examples/ostest/ostest.h2
-rw-r--r--apps/examples/ostest/ostest_main.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/ostest/Kconfig b/apps/examples/ostest/Kconfig
index b40ee3311..dd12c09b5 100644
--- a/apps/examples/ostest/Kconfig
+++ b/apps/examples/ostest/Kconfig
@@ -35,7 +35,7 @@ config EXAMPLES_OSTEST_NBARRIER_THREADS
config EXAMPLES_OSTEST_AIO
bool "Asynchronous I/O Tests"
default n
- depends on LIBC_AIO && FS_WRITABLE
+ depends on FS_AIO && FS_WRITABLE
---help---
Enables test of asynchronous I/O. You must have a mounted, writable
directory in place to use this test.
diff --git a/apps/examples/ostest/aio.c b/apps/examples/ostest/aio.c
index 9e1628783..2a0e5a555 100644
--- a/apps/examples/ostest/aio.c
+++ b/apps/examples/ostest/aio.c
@@ -50,7 +50,7 @@
#include "ostest.h"
-#ifdef CONFIG_LIBC_AIO
+#ifdef CONFIG_FS_AIO
/****************************************************************************
* Pre-processor Definitions
@@ -228,4 +228,4 @@ void aio_test(void)
}
-#endif /* CONFIG_LIBC_AIO */
+#endif /* CONFIG_FS_AIO */
diff --git a/apps/examples/ostest/ostest.h b/apps/examples/ostest/ostest.h
index b99bb15c7..71d71c03a 100644
--- a/apps/examples/ostest/ostest.h
+++ b/apps/examples/ostest/ostest.h
@@ -113,7 +113,7 @@ void fpu_test(void);
/* aio.c ********************************************************************/
-#ifdef CONFIG_LIBC_AIO
+#ifdef CONFIG_FS_AIO
void aio_test(void);
#endif
diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c
index 0b3d37f3b..d36287b78 100644
--- a/apps/examples/ostest/ostest_main.c
+++ b/apps/examples/ostest/ostest_main.c
@@ -326,7 +326,7 @@ static int user_main(int argc, char *argv[])
check_test_memory_usage();
#endif
-#ifdef CONFIG_LIBC_AIO
+#ifdef CONFIG_FS_AIO
/* Check asynchronous I/O */
printf("\nuser_main: AIO test\n");