mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
remove #if logic for openocd_sleep_*lude
Adds server_stubs.c to hold these routines, using automake logic to ensure it gets included under the right conditions.
This commit is contained in:
@@ -81,6 +81,15 @@ int server_loop(struct command_context *command_context);
|
||||
|
||||
int server_register_commands(struct command_context *context);
|
||||
|
||||
/**
|
||||
* Used by server_loop(), defined in server_stubs.c, httpd.c, or ecosboard.c
|
||||
*/
|
||||
void openocd_sleep_prelude(void);
|
||||
/**
|
||||
* Used by server_loop(), defined in server_stubs.c, httpd.c, or ecosboard.c
|
||||
*/
|
||||
void openocd_sleep_postlude(void);
|
||||
|
||||
/**
|
||||
* Defines an extended command handler function declaration to enable
|
||||
* access to (and manipulation of) the server port number.
|
||||
|
||||
Reference in New Issue
Block a user