fix a few compilation problems.

git-svn-id: svn://svn.berlios.de/openocd/trunk@758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-07-06 19:56:15 +00:00
parent 2b673d0c1e
commit 0bb7c9d109
6 changed files with 58 additions and 3 deletions

View File

@@ -625,7 +625,12 @@ void initJim(void)
interp->cb_fgets = openocd_jim_fgets;
}
int main(int argc, char *argv[])
/*
normally this is the main() function entry, but if OpenOCD is linked
into application, then this fn will not be invoked, but rather that
application will have it's own implementation of main().
*/
int openocd_main(int argc, char *argv[])
{
initJim();