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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user