diff --git a/src/openocd.c b/src/openocd.c index 084b8a1d0..56576ee35 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -24,8 +24,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#define OPENOCD_VERSION "Open On-Chip Debugger " VERSION " (" PKGBLDDATE ") "RELSTR PKGBLDREV - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -57,6 +55,11 @@ #include #include + +#define OPENOCD_VERSION \ + "Open On-Chip Debugger " VERSION " (" PKGBLDDATE ") " RELSTR PKGBLDREV + + void print_version(void) { /* DANGER!!! make sure that the line below does not appear in a patch, do not remove */