diff options
Diffstat (limited to 'apps/examples/tiff')
-rw-r--r-- | apps/examples/tiff/tiff_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/tiff/tiff_main.c b/apps/examples/tiff/tiff_main.c index d3169d149..82a579878 100644 --- a/apps/examples/tiff/tiff_main.c +++ b/apps/examples/tiff/tiff_main.c @@ -104,7 +104,11 @@ * ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int tiff_main(int argc, char *argv[]) +#endif { struct tiff_info_s info; uint8_t strip[3*256]; |