aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 15:24:14 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 15:24:14 -0800
commita79b76d893ca5c3b8144b2098c88f516052d72fe (patch)
treed1751d998acc50c0407a6e2248549cefd3cd2cf8
parent6ec526e706483cd2de6c8de4bafa885522a782cd (diff)
downloadriscv-openocd-a79b76d893ca5c3b8144b2098c88f516052d72fe.zip
riscv-openocd-a79b76d893ca5c3b8144b2098c88f516052d72fe.tar.gz
riscv-openocd-a79b76d893ca5c3b8144b2098c88f516052d72fe.tar.bz2
stubs: buildfix
The new stubs for httpd and ioutil gave errors like: ioutil_stubs.c: In function ‘ioutil_init’: ioutil_stubs.c:27: error: implicit declaration of function ‘LOG_DEBUG’ ioutil_stubs.c:28: error: ‘ERROR_OK’ undeclared (first use in this function) ioutil_stubs.c:28: error: (Each undeclared identifier is reported only once ioutil_stubs.c:28: error: for each function it appears in.) Fix. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-rw-r--r--src/helper/ioutil_stubs.c1
-rw-r--r--src/server/httpd_stubs.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/ioutil_stubs.c b/src/helper/ioutil_stubs.c
index 1171a6f..3cd9f97 100644
--- a/src/helper/ioutil_stubs.c
+++ b/src/helper/ioutil_stubs.c
@@ -21,6 +21,7 @@
#include <config.h>
#endif
#include "ioutil.h"
+#include "log.h"
int ioutil_init(struct command_context *cmd_ctx)
{
diff --git a/src/server/httpd_stubs.c b/src/server/httpd_stubs.c
index 0a63362..6c289af 100644
--- a/src/server/httpd_stubs.c
+++ b/src/server/httpd_stubs.c
@@ -21,6 +21,7 @@
#include <config.h>
#endif
#include "httpd.h"
+#include "log.h"
int httpd_start(struct command_context *cmd_ctx)
{