summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-18 13:31:37 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-18 13:31:37 +0000
commit2c3f0ebae9499a70314ba4520099d0006eb8e7fe (patch)
tree301950e90806063d3eb72909525387d0a9ae7c30 /src/main.c
parent60ba4476dfef5fae48b85d54e376a3ca27442113 (diff)
downloadopenocd+libswd-2c3f0ebae9499a70314ba4520099d0006eb8e7fe.tar.gz
openocd+libswd-2c3f0ebae9499a70314ba4520099d0006eb8e7fe.tar.bz2
openocd+libswd-2c3f0ebae9499a70314ba4520099d0006eb8e7fe.tar.xz
openocd+libswd-2c3f0ebae9499a70314ba4520099d0006eb8e7fe.zip
- remove build warning from keep_alive
- remove surplus linefeeds git-svn-id: svn://svn.berlios.de/openocd/trunk@831 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c24
1 files changed, 9 insertions, 15 deletions
diff --git a/src/main.c b/src/main.c
index ce6e919f..616aacd4 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);
}
-
-