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.
This commit is contained in:
Zachary T Welch
2009-11-14 07:29:16 -08:00
parent ab3bdfb2cb
commit 4088b1e622
6 changed files with 47 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/helper \
-I$(top_srcdir)/src/target \
-I$(top_srcdir)/src/flash \