X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fopenocd.h;h=80331157c12836a28992520e1beb38b6032eb250;hb=443197aff0e4b3e2ba01635f2862aca90ac26349;hp=70e3ee0126f30e524bc1c935b3b4ac3af0ee0a08;hpb=5e229bbf87fbb5a809553526edf0186dd3dd5cf8;p=fw%2Fopenocd diff --git a/src/openocd.h b/src/openocd.h index 70e3ee012..80331157c 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