diff options
Diffstat (limited to 'apps/examples/rgmp')
-rw-r--r-- | apps/examples/rgmp/rgmp_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/rgmp/rgmp_main.c b/apps/examples/rgmp/rgmp_main.c index 1cf5a56c7..57dbbb543 100644 --- a/apps/examples/rgmp/rgmp_main.c +++ b/apps/examples/rgmp/rgmp_main.c @@ -57,7 +57,11 @@ * rgmp_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int rgmp_main(int argc, char *argv[]) +#endif { // TODO: add your code here |