diff options
Diffstat (limited to 'apps/examples/i2schar')
-rw-r--r-- | apps/examples/i2schar/i2schar_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/i2schar/i2schar_main.c b/apps/examples/i2schar/i2schar_main.c index fa5806cf9..f2a60d5c6 100644 --- a/apps/examples/i2schar/i2schar_main.c +++ b/apps/examples/i2schar/i2schar_main.c @@ -236,7 +236,11 @@ static void parse_args(FAR struct i2schar_state_s *i2schar, int argc, FAR char * * Name: i2schar_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int i2schar_main(int argc, char *argv[]) +#endif { pthread_attr_t attr; pthread_addr_t result; |