Revert "apps/examples/ostest: Fix some inappropriae renaming of static functions introduced with recent patches."
This reverts commit b0cefbf1c71a7ec17fe1e6009d3154948af04d53.
This commit is contained in:
parent
b0cefbf1c7
commit
4d9b55e623
@ -217,7 +217,7 @@ static void show_environment(bool var1_valid, bool var2_valid, bool var3_valid)
|
||||
* Name: user_main
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_BUILD_KERNEL
|
||||
#ifdef CONFIG_BUILD_LOADABLE
|
||||
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
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_BUILD_LOADABLE
|
||||
int main(int argc, FAR char **argv)
|
||||
#else
|
||||
int ostest_main(int argc, FAR char *argv[])
|
||||
#endif
|
||||
int ostest_main(int argc, FAR char *argv[])
|
||||
{
|
||||
int result;
|
||||
#ifdef CONFIG_EXAMPLES_OSTEST_WAITRESULT
|
||||
|
@ -79,7 +79,7 @@ static bool g_restarted;
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_BUILD_KERNEL
|
||||
#ifdef CONFIG_BUILD_LOADABLE
|
||||
int main(int argc, FAR char *argv[])
|
||||
#else
|
||||
static int restart_main(int argc, char *argv[])
|
||||
|
@ -67,7 +67,7 @@ static int g_waitpids[NCHILDREN];
|
||||
* Priviate Functions
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_BUILD_KERNEL
|
||||
#ifdef CONFIG_BUILD_LOADABLE
|
||||
int main(int argc, FAR char *argv[])
|
||||
#else
|
||||
static int waitpid_main(int argc, char *argv[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user