use const markings on const strings to shutup gcc warnings

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1424 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 16 years ago
parent 293a355476
commit 32002ea873

@ -7,6 +7,8 @@
* src/tap/detect.c (detect_parts): Use the PRIX64 format string for 64bit
types with printf().
* src/part/part.c (part_print): Use const markings with const strings.
2009-01-19 Kolja Waschk <kawk>
* doc/UrJTAG.txt,

@ -235,8 +235,8 @@ part_get_signal( part_t *p, signal_t *s )
void
part_print( part_t *p )
{
char *instruction = NULL;
char *dr = NULL;
const char *instruction = NULL;
const char *dr = NULL;
char format[100];
if (!p)

Loading…
Cancel
Save