diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-14 07:29:16 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-14 07:29:16 -0800 |
commit | 4088b1e622cff0673f2859de5ee611da736bdba7 (patch) | |
tree | 7049a500c42efee0071b9838a08e5a84478e7ea3 /src/ecosboard.c | |
parent | ab3bdfb2cb7b0c16800195951e4ee549cf8e86a5 (diff) | |
download | riscv-openocd-4088b1e622cff0673f2859de5ee611da736bdba7.zip riscv-openocd-4088b1e622cff0673f2859de5ee611da736bdba7.tar.gz riscv-openocd-4088b1e622cff0673f2859de5ee611da736bdba7.tar.bz2 |
add openocd.h for top-level declarations
Create src/openocd.h to hold declarations previously made internally
by src/main.c and src/server/server.c. This ensures all functions
are verified to be in-sync at compile time (rather than at link),
making it easier to track down bugs.
Diffstat (limited to 'src/ecosboard.c')
-rw-r--r-- | src/ecosboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 38f3252..e38316c 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -36,6 +36,7 @@ #include "server.h" #include "telnet_server.h" #include "gdb_server.h" +#include "openocd.h" #include <time_support.h> #include <sys/time.h> |