diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 376b47de..4fd5ff2c 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,11 @@ +2003-08-19 Marcel Telka + + * src/jtag.c (main): Fixed setlocale() call. + * Makefile.am (noinst_HEADERS): Renamed config.h -> sysdep.h. + * config.h: Renamed this file ... + * sysdep.h: ... to this one. + Changed config.h -> sysdep.h include in all source files. + 2003-08-18 Marcel Telka * data/samsung/s3c4510b/s3c4510b: Fixed some errors in instruction declarations (Jiun-Shian Ho). diff --git a/jtag/Makefile.am b/jtag/Makefile.am index b1a517e6..10836676 100644 --- a/jtag/Makefile.am +++ b/jtag/Makefile.am @@ -32,7 +32,7 @@ SUBDIRS = \ po noinst_HEADERS = \ - config.h + sysdep.h EXTRA_DIST = \ Makefile.rules diff --git a/jtag/NEWS b/jtag/NEWS index 305c9a72..2ddbbc96 100644 --- a/jtag/NEWS +++ b/jtag/NEWS @@ -31,6 +31,8 @@ jtag-0.5: * Added support for "downto" in bit vectors and "observe_only" into bsdl2jtag (patch 787346, Brad Parker). * Minor bugs fixed. + * New translations: + - Slovak (sk) jtag-0.4 (2003-05-29): diff --git a/jtag/po/.cvsignore b/jtag/po/.cvsignore index 40ae1a1b..25e8fa86 100644 --- a/jtag/po/.cvsignore +++ b/jtag/po/.cvsignore @@ -12,3 +12,4 @@ remove-potcdate.sin remove-potcdate.sed jtag.pot messages.mo +*.gmo diff --git a/jtag/src/bus/bcm1250.c b/jtag/src/bus/bcm1250.c index f39a2bc3..bf44f41e 100644 --- a/jtag/src/bus/bcm1250.c +++ b/jtag/src/bus/bcm1250.c @@ -24,11 +24,12 @@ * */ +#include "sysdep.h" + #include #include #include -#include "config.h" #include "part.h" #include "bus.h" #include "chain.h" diff --git a/jtag/src/bus/buses.c b/jtag/src/bus/buses.c index a75b3a93..0a22785c 100644 --- a/jtag/src/bus/buses.c +++ b/jtag/src/bus/buses.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include diff --git a/jtag/src/bus/ixp425.c b/jtag/src/bus/ixp425.c index 5eeeb2c0..5fc57fb5 100644 --- a/jtag/src/bus/ixp425.c +++ b/jtag/src/bus/ixp425.c @@ -23,7 +23,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/bus/pxa2x0.c b/jtag/src/bus/pxa2x0.c index cad2dfbc..8a521d3a 100644 --- a/jtag/src/bus/pxa2x0.c +++ b/jtag/src/bus/pxa2x0.c @@ -26,7 +26,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/bus/sa1110.c b/jtag/src/bus/sa1110.c index 63cc9482..f69eeec4 100644 --- a/jtag/src/bus/sa1110.c +++ b/jtag/src/bus/sa1110.c @@ -26,7 +26,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/bus/sh7727.c b/jtag/src/bus/sh7727.c index 72680ad7..8e90eea1 100644 --- a/jtag/src/bus/sh7727.c +++ b/jtag/src/bus/sh7727.c @@ -23,7 +23,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/bus/sh7750r.c b/jtag/src/bus/sh7750r.c index 55f2e447..68675b73 100644 --- a/jtag/src/bus/sh7750r.c +++ b/jtag/src/bus/sh7750r.c @@ -23,7 +23,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/bus/sh7751r.c b/jtag/src/bus/sh7751r.c index 1b6c612a..211c490f 100644 --- a/jtag/src/bus/sh7751r.c +++ b/jtag/src/bus/sh7751r.c @@ -23,7 +23,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/bit.c b/jtag/src/cmd/bit.c index 1d81201b..58a990f1 100644 --- a/jtag/src/cmd/bit.c +++ b/jtag/src/cmd/bit.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/bus.c b/jtag/src/cmd/bus.c index 05aff910..b4cd350c 100644 --- a/jtag/src/cmd/bus.c +++ b/jtag/src/cmd/bus.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/cable.c b/jtag/src/cmd/cable.c index d8bc4f15..ec00a804 100644 --- a/jtag/src/cmd/cable.c +++ b/jtag/src/cmd/cable.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/cmd.c b/jtag/src/cmd/cmd.c index f9a97876..8354340a 100644 --- a/jtag/src/cmd/cmd.c +++ b/jtag/src/cmd/cmd.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/detect.c b/jtag/src/cmd/detect.c index 4de64d20..65d162d3 100644 --- a/jtag/src/cmd/detect.c +++ b/jtag/src/cmd/detect.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/discovery.c b/jtag/src/cmd/discovery.c index 4f0c3eda..3111c154 100644 --- a/jtag/src/cmd/discovery.c +++ b/jtag/src/cmd/discovery.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include diff --git a/jtag/src/cmd/dr.c b/jtag/src/cmd/dr.c index cab608e4..36e0592f 100644 --- a/jtag/src/cmd/dr.c +++ b/jtag/src/cmd/dr.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/endian.c b/jtag/src/cmd/endian.c index 390c75ed..45e2cfb9 100644 --- a/jtag/src/cmd/endian.c +++ b/jtag/src/cmd/endian.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/eraseflash.c b/jtag/src/cmd/eraseflash.c index 5f6d97da..4ccf4b45 100644 --- a/jtag/src/cmd/eraseflash.c +++ b/jtag/src/cmd/eraseflash.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/flashmem.c b/jtag/src/cmd/flashmem.c index 0cf011de..0267fec2 100644 --- a/jtag/src/cmd/flashmem.c +++ b/jtag/src/cmd/flashmem.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/frequency.c b/jtag/src/cmd/frequency.c index b1b66c9c..ffab4bf1 100644 --- a/jtag/src/cmd/frequency.c +++ b/jtag/src/cmd/frequency.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include diff --git a/jtag/src/cmd/get.c b/jtag/src/cmd/get.c index 3878d7cc..4c61d0c7 100644 --- a/jtag/src/cmd/get.c +++ b/jtag/src/cmd/get.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/include.c b/jtag/src/cmd/include.c index 7269971d..9b390ea4 100644 --- a/jtag/src/cmd/include.c +++ b/jtag/src/cmd/include.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/instruction.c b/jtag/src/cmd/instruction.c index fb253138..498c1808 100644 --- a/jtag/src/cmd/instruction.c +++ b/jtag/src/cmd/instruction.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/part.c b/jtag/src/cmd/part.c index 401ddd04..ca2c81a9 100644 --- a/jtag/src/cmd/part.c +++ b/jtag/src/cmd/part.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/peekpoke.c b/jtag/src/cmd/peekpoke.c index 09ae2778..6298ef86 100644 --- a/jtag/src/cmd/peekpoke.c +++ b/jtag/src/cmd/peekpoke.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/print.c b/jtag/src/cmd/print.c index f336018c..664654fd 100644 --- a/jtag/src/cmd/print.c +++ b/jtag/src/cmd/print.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/readmem.c b/jtag/src/cmd/readmem.c index 95ad6c59..22398441 100644 --- a/jtag/src/cmd/readmem.c +++ b/jtag/src/cmd/readmem.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/register.c b/jtag/src/cmd/register.c index 595b01be..6e1c3cb9 100644 --- a/jtag/src/cmd/register.c +++ b/jtag/src/cmd/register.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/script.c b/jtag/src/cmd/script.c index 77fac0b8..ae0e073d 100644 --- a/jtag/src/cmd/script.c +++ b/jtag/src/cmd/script.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include diff --git a/jtag/src/cmd/set.c b/jtag/src/cmd/set.c index 2adede9e..d3b05233 100644 --- a/jtag/src/cmd/set.c +++ b/jtag/src/cmd/set.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/shift.c b/jtag/src/cmd/shift.c index 5bacebe9..e27435bd 100644 --- a/jtag/src/cmd/shift.c +++ b/jtag/src/cmd/shift.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/cmd/signal.c b/jtag/src/cmd/signal.c index de741ab0..9359826d 100644 --- a/jtag/src/cmd/signal.c +++ b/jtag/src/cmd/signal.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/detect.c b/jtag/src/detect.c index 2bb6c5bf..c4f19e57 100644 --- a/jtag/src/detect.c +++ b/jtag/src/detect.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/discovery.c b/jtag/src/discovery.c index 21466072..dba3efeb 100644 --- a/jtag/src/discovery.c +++ b/jtag/src/discovery.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/flash.c b/jtag/src/flash.c index c4f084bc..15558fd2 100644 --- a/jtag/src/flash.c +++ b/jtag/src/flash.c @@ -32,7 +32,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/jtag.c b/jtag/src/jtag.c index e684ee98..0b5fabac 100644 --- a/jtag/src/jtag.c +++ b/jtag/src/jtag.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include @@ -252,7 +252,7 @@ main( int argc, const char **argv ) #ifdef ENABLE_NLS /* l10n support */ - setlocale( LC_MESSAGES, "" ); + setlocale( LC_ALL, "" ); bindtextdomain( PACKAGE, LOCALEDIR ); textdomain( PACKAGE ); #endif /* ENABLE_NLS */ diff --git a/jtag/src/lib/getdelim.c b/jtag/src/lib/getdelim.c index 734c414e..26bea01e 100644 --- a/jtag/src/lib/getdelim.c +++ b/jtag/src/lib/getdelim.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/lib/getline.c b/jtag/src/lib/getline.c index 9c2289e6..b738c3fd 100644 --- a/jtag/src/lib/getline.c +++ b/jtag/src/lib/getline.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/part/data_register.c b/jtag/src/part/data_register.c index a657d266..9918be09 100644 --- a/jtag/src/part/data_register.c +++ b/jtag/src/part/data_register.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/part/instruction.c b/jtag/src/part/instruction.c index 149d1669..8ab42486 100644 --- a/jtag/src/part/instruction.c +++ b/jtag/src/part/instruction.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/part/part.c b/jtag/src/part/part.c index 000b2126..8a6bf1a4 100644 --- a/jtag/src/part/part.c +++ b/jtag/src/part/part.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/readmem.c b/jtag/src/readmem.c index 53c57649..fa055e8b 100644 --- a/jtag/src/readmem.c +++ b/jtag/src/readmem.c @@ -28,7 +28,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/tap/cable.c b/jtag/src/tap/cable.c index ef650abd..521c3f8c 100644 --- a/jtag/src/tap/cable.c +++ b/jtag/src/tap/cable.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/tap/cable/arcom.c b/jtag/src/tap/cable/arcom.c index 51f98bf5..16e62d47 100644 --- a/jtag/src/tap/cable/arcom.c +++ b/jtag/src/tap/cable/arcom.c @@ -23,7 +23,7 @@ * */ -#include +#include "sysdep.h" #include "cable.h" #include "parport.h" diff --git a/jtag/src/tap/cable/byteblaster.c b/jtag/src/tap/cable/byteblaster.c index a7988161..b583cd8f 100644 --- a/jtag/src/tap/cable/byteblaster.c +++ b/jtag/src/tap/cable/byteblaster.c @@ -31,7 +31,7 @@ * */ -#include +#include "sysdep.h" #include "cable.h" #include "parport.h" diff --git a/jtag/src/tap/cable/dlc5.c b/jtag/src/tap/cable/dlc5.c index b63d8ac1..ecce9c5d 100644 --- a/jtag/src/tap/cable/dlc5.c +++ b/jtag/src/tap/cable/dlc5.c @@ -27,7 +27,7 @@ * */ -#include +#include "sysdep.h" #include "cable.h" #include "parport.h" diff --git a/jtag/src/tap/cable/ea253.c b/jtag/src/tap/cable/ea253.c index 13942b4f..537ace22 100644 --- a/jtag/src/tap/cable/ea253.c +++ b/jtag/src/tap/cable/ea253.c @@ -23,7 +23,7 @@ * */ -#include +#include "sysdep.h" #include "cable.h" #include "parport.h" diff --git a/jtag/src/tap/cable/ei012.c b/jtag/src/tap/cable/ei012.c index 72727680..43fc9dac 100644 --- a/jtag/src/tap/cable/ei012.c +++ b/jtag/src/tap/cable/ei012.c @@ -23,7 +23,7 @@ * */ -#include +#include "sysdep.h" #include "cable.h" #include "parport.h" diff --git a/jtag/src/tap/cable/keithkoep.c b/jtag/src/tap/cable/keithkoep.c index d1e878e9..a25c6e5d 100644 --- a/jtag/src/tap/cable/keithkoep.c +++ b/jtag/src/tap/cable/keithkoep.c @@ -26,7 +26,7 @@ * */ -#include +#include "sysdep.h" #include "cable.h" #include "parport.h" diff --git a/jtag/src/tap/cable/mpcbdm.c b/jtag/src/tap/cable/mpcbdm.c index 433e4edd..d1b6fbee 100644 --- a/jtag/src/tap/cable/mpcbdm.c +++ b/jtag/src/tap/cable/mpcbdm.c @@ -27,7 +27,7 @@ * */ -#include +#include "sysdep.h" #include "cable.h" #include "parport.h" diff --git a/jtag/src/tap/cable/wiggler.c b/jtag/src/tap/cable/wiggler.c index 82ed9394..4e03c597 100644 --- a/jtag/src/tap/cable/wiggler.c +++ b/jtag/src/tap/cable/wiggler.c @@ -27,7 +27,7 @@ * */ -#include +#include "sysdep.h" #include "cable.h" #include "parport.h" diff --git a/jtag/src/tap/chain.c b/jtag/src/tap/chain.c index 71802fd8..d1ba49cd 100644 --- a/jtag/src/tap/chain.c +++ b/jtag/src/tap/chain.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include diff --git a/jtag/src/tap/parport.c b/jtag/src/tap/parport.c index 8df56887..c49924ec 100644 --- a/jtag/src/tap/parport.c +++ b/jtag/src/tap/parport.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include "parport.h" diff --git a/jtag/src/tap/parport/direct.c b/jtag/src/tap/parport/direct.c index 8dcd8553..0f796081 100644 --- a/jtag/src/tap/parport/direct.c +++ b/jtag/src/tap/parport/direct.c @@ -24,7 +24,7 @@ * */ -#include +#include "sysdep.h" #include #include diff --git a/jtag/src/tap/parport/ppdev.c b/jtag/src/tap/parport/ppdev.c index 9f7acb5c..016d97c2 100644 --- a/jtag/src/tap/parport/ppdev.c +++ b/jtag/src/tap/parport/ppdev.c @@ -23,7 +23,7 @@ * */ -#include +#include "sysdep.h" #ifdef HAVE_LINUX_PPDEV_H diff --git a/jtag/src/tap/tap.c b/jtag/src/tap/tap.c index 99ba1225..e8eb29fa 100644 --- a/jtag/src/tap/tap.c +++ b/jtag/src/tap/tap.c @@ -22,7 +22,7 @@ * */ -#include +#include "sysdep.h" #include diff --git a/jtag/config.h b/jtag/sysdep.h similarity index 93% rename from jtag/config.h rename to jtag/sysdep.h index fdc7988a..73e60ca0 100644 --- a/jtag/config.h +++ b/jtag/sysdep.h @@ -22,8 +22,11 @@ * */ +#ifndef SYSDEP_H +#define SYSDEP_H + #ifdef HAVE_CONFIG_H -#include +#include "pkgcfg.h" #endif #include "gettext.h" @@ -39,3 +42,5 @@ #undef ngettext #define ngettext(s,p,n) s #endif + +#endif /* SYSDEP_H */