]> git.sur5r.net Git - openocd/commit
remove #if BUILD_HTTPD
authorZachary T Welch <zw@superlucidity.net>
Wed, 2 Dec 2009 03:58:32 +0000 (19:58 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 2 Dec 2009 21:26:26 +0000 (13:26 -0800)
commit6ec526e706483cd2de6c8de4bafa885522a782cd
tree6cb875f779151bcfb738bf90df74814c8d6ea86b
parenteaf10f69de969652d03742809b9c970158b90719
remove #if BUILD_HTTPD

Add httpd_stubs.c to provide no-op implementations of httpd_start()
and httpd_stop().

Allows these routines to be called unconditionally and ensures the
libocdserver ABI remains unchanged regardless of whether this feature
was built-in or not.

Prints a DEBUG message when the stub implementation is included.
configure.in
src/openocd.c
src/server/Makefile.am
src/server/httpd_stubs.c [new file with mode: 0644]