summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index c2b53da6..a71977da 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);