diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-30 20:13:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-30 20:13:50 +0000 |
commit | 79c7065433ae27932ad8b781d38b8f7832b01581 (patch) | |
tree | f770414832eeecb35adb70404b31d147afad7235 /apps/examples/tiff/tiff_main.c | |
parent | f9d19788072090be80b71ab0d0de14507a6e739b (diff) | |
download | nuttx-79c7065433ae27932ad8b781d38b8f7832b01581.tar.gz nuttx-79c7065433ae27932ad8b781d38b8f7832b01581.tar.bz2 nuttx-79c7065433ae27932ad8b781d38b8f7832b01581.zip |
Add configurable application entry point
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5070 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/tiff/tiff_main.c')
-rw-r--r-- | apps/examples/tiff/tiff_main.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/examples/tiff/tiff_main.c b/apps/examples/tiff/tiff_main.c index d59f42cb4..1be2b09c5 100644 --- a/apps/examples/tiff/tiff_main.c +++ b/apps/examples/tiff/tiff_main.c @@ -98,20 +98,14 @@ ****************************************************************************/ /**************************************************************************** - * Name: tiff_main/user_start + * Name: tiff_main * * Description: * TIFF unit test. * ****************************************************************************/ -#ifdef CONFIG_EXAMPLES_TIFF_BUILTIN -# define MAIN_NAME tiff_main -#else -# define MAIN_NAME user_start -#endif - -int MAIN_NAME(int argc, char *argv[]) +int tiff_main(int argc, char *argv[]) { struct tiff_info_s info; uint8_t strip[3*256]; |