X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fmain.c;h=a71977daf9041e896599c5a1050c2525328414f3;hp=c2b53da6e3dc7ae203e36a7d9f954b62e9468bf2;hb=4088b1e622cff0673f2859de5ee611da736bdba7;hpb=6cacbd9575e03c37057719a97bf260217c4e275f diff --git a/src/main.c b/src/main.c index c2b53da6e3..a71977daf9 100644 --- a/src/main.c +++ b/src/main.c @@ -22,6 +22,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include "openocd.h" /* This is the main entry for developer PC hosted OpenOCD. * @@ -32,8 +33,6 @@ * 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);