summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-01 19:41:16 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-02 13:26:26 -0800
commit34654359a918edae10ca7dd7ebc0a487fdf609a4 (patch)
tree118b101ad9d0a7c1050dcab029b59a0f51a8caba /src/openocd.c
parent62fbb0f545213f8a813819f319e20fee8a859319 (diff)
downloadopenocd+libswd-34654359a918edae10ca7dd7ebc0a487fdf609a4.tar.gz
openocd+libswd-34654359a918edae10ca7dd7ebc0a487fdf609a4.tar.bz2
openocd+libswd-34654359a918edae10ca7dd7ebc0a487fdf609a4.tar.xz
openocd+libswd-34654359a918edae10ca7dd7ebc0a487fdf609a4.zip
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.
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 12bcf443..2043a92c 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -215,20 +215,6 @@ struct command_context *setup_command_handler(Jim_Interp *interp)
return cmd_ctx;
}
-#if !BUILD_HTTPD && !BUILD_ECOSBOARD
-/* implementations of OpenOCD that uses multithreading needs to know when
- * OpenOCD is sleeping. No-op in vanilla OpenOCD
- */
-void openocd_sleep_prelude(void)
-{
-}
-
-void openocd_sleep_postlude(void)
-{
-}
-#endif
-
-
/* normally this is the main() function entry, but if OpenOCD is linked
* into application, then this fn will not be invoked, but rather that
* application will have it's own implementation of main(). */