diff options
Diffstat (limited to 'apps/examples/configdata')
-rw-r--r-- | apps/examples/configdata/configdata_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/configdata/configdata_main.c b/apps/examples/configdata/configdata_main.c index a2d887a66..1d91ced72 100644 --- a/apps/examples/configdata/configdata_main.c +++ b/apps/examples/configdata/configdata_main.c @@ -624,7 +624,11 @@ static int configdata_cleardeleted(void) * Name: configdata_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int configdata_main(int argc, char *argv[]) +#endif { unsigned int i; int ret; |