X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fopenocd.h;h=80331157c12836a28992520e1beb38b6032eb250;hp=70e3ee0126f30e524bc1c935b3b4ac3af0ee0a08;hb=b48d1f66378fac886d5bc32d7302da48c89d8a75;hpb=5e229bbf87fbb5a809553526edf0186dd3dd5cf8;ds=sidebyside diff --git a/src/openocd.h b/src/openocd.h index 70e3ee0126..80331157c1 100644 --- a/src/openocd.h +++ b/src/openocd.h @@ -21,7 +21,7 @@ #ifndef OPENOCD_H #define OPENOCD_H -/** +/** * Different applications can define this entry point to override * the default openocd main function. On most systems, this will be * defined in src/openocd.c. @@ -31,12 +31,7 @@ */ int openocd_main(int argc, char *argv[]); -/// used by the server_loop() function in src/server/server.c -void openocd_sleep_prelude(void); -/// used by the server_loop() function in src/server/server.c -void openocd_sleep_postlude(void); - -/// provides a hard-coded command environment setup -extern const char *openocd_startup_tcl; +/** provides a hard-coded command environment setup */ +extern const char openocd_startup_tcl[]; #endif