X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=616aacd485a5801dc66b891bff78584413b6f134;hp=ce6e919f9a84f7e83ada0c7aa7a8176ef408c1f8;hb=2c3f0ebae9499a70314ba4520099d0006eb8e7fe;hpb=60ba4476dfef5fae48b85d54e376a3ca27442113;ds=sidebyside diff --git a/src/main.c b/src/main.c index ce6e919f9a..616aacd485 100644 --- a/src/main.c +++ b/src/main.c @@ -29,24 +29,18 @@ void openocd_sleep_postlude() { } - -/* - This is the main entry for developer PC hosted OpenOCD. - - OpenOCD can also be used as a library that is linked with - another application(not mainstream yet, but possible), e.g. - w/as an embedded application. - - Those applications will have their own main() implementation - and use bits and pieces from openocd.c. - -*/ - +/* This is the main entry for developer PC hosted OpenOCD. + * + * OpenOCD can also be used as a library that is linked with + * another application(not mainstream yet, but possible), e.g. + * w/as an embedded application. + * + * Those applications will have their own main() implementation + * and use bits and pieces from openocd.c. */ extern int openocd_main(int argc, char *argv[]); + int main(int argc, char *argv[]) { return openocd_main(argc, argv); } - -