From: <zw...@ma...> - 2009-05-01 03:18:10
|
Author: zwelch Date: 2009-05-01 03:18:05 +0200 (Fri, 01 May 2009) New Revision: 1586 Modified: trunk/src/openocd.c Log: Dick Hollenbeck <di...@so...>: move OPENOCD_VERSION to use config.h Modified: trunk/src/openocd.c =================================================================== --- trunk/src/openocd.c 2009-04-30 23:19:46 UTC (rev 1585) +++ trunk/src/openocd.c 2009-05-01 01:18:05 UTC (rev 1586) @@ -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 <unistd.h> #include <errno.h> + +#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 */ |