diff options
Diffstat (limited to 'tiff/contrib/mac-cw/mac_main.c')
-rw-r--r-- | tiff/contrib/mac-cw/mac_main.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tiff/contrib/mac-cw/mac_main.c b/tiff/contrib/mac-cw/mac_main.c new file mode 100644 index 0000000..66b5a83 --- /dev/null +++ b/tiff/contrib/mac-cw/mac_main.c @@ -0,0 +1,27 @@ +/* + * mac_main.c -- The REAL entry point which + * calls the tools main code. For the tools + * the symbol "main" has been #defined to "tool_main" + * so that this entry point may be used to access + * the user-input first. + */ + +#undef main + +int +main() +{ + int argc; + char **argv; + + argc=ccommand(&argv); + + return tool_main(argc,argv); // Call the tool "main()" routine +} +/* + * Local Variables: + * mode: c + * c-basic-offset: 8 + * fill-column: 78 + * End: + */ |