apps/examples/ostest: Fix some inappropriae renaming of static functions introduced with recent patches.

This commit is contained in:
Gregory Nutt 2018-08-22 10:40:17 -06:00
parent 57998f8d71
commit b0cefbf1c7
3 changed files with 7 additions and 7 deletions

View File

@ -217,7 +217,7 @@ static void show_environment(bool var1_valid, bool var2_valid, bool var3_valid)
* Name: user_main
****************************************************************************/
#ifdef CONFIG_BUILD_LOADABLE
#ifdef CONFIG_BUILD_KERNEL
int main(int argc, FAR char *argv[])
#else
static int user_main(int argc, char *argv[])
@ -581,15 +581,15 @@ static void stdio_test(void)
* Public Functions
****************************************************************************/
#ifdef CONFIG_BUILD_LOADABLE
/****************************************************************************
int main(int argc, FAR char **argv)
* ostest_main
#else
****************************************************************************/
#endif
#ifdef CONFIG_BUILD_LOADABLE
int main(int argc, FAR char **argv)
#else
int ostest_main(int argc, FAR char *argv[])
#endif
{
int result;
#ifdef CONFIG_EXAMPLES_OSTEST_WAITRESULT

View File

@ -79,7 +79,7 @@ static bool g_restarted;
* Private Functions
****************************************************************************/
#ifdef CONFIG_BUILD_LOADABLE
#ifdef CONFIG_BUILD_KERNEL
int main(int argc, FAR char *argv[])
#else
static int restart_main(int argc, char *argv[])

View File

@ -67,7 +67,7 @@ static int g_waitpids[NCHILDREN];
* Priviate Functions
****************************************************************************/
#ifdef CONFIG_BUILD_LOADABLE
#ifdef CONFIG_BUILD_KERNEL
int main(int argc, FAR char *argv[])
#else
static int waitpid_main(int argc, char *argv[])