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:
Zachary T Welch
2009-12-01 19:41:16 -08:00
parent 62fbb0f545
commit 34654359a9
5 changed files with 45 additions and 19 deletions

View File

@@ -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.