Commit b29bb832 by Kaveh R. Ghazi Committed by Kaveh Ghazi

* target.c (ffetarget_print_hex): Const-ify.

From-SVN: r50535
parent 27e486c5
Sun Mar 10 12:37:42 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* target.c (ffetarget_print_hex): Const-ify.
2002-03-06 Phil Edwards <pme@gcc.gnu.org> 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
* version.c: Fix misplaced leading blanks on first line. * version.c: Fix misplaced leading blanks on first line.
......
...@@ -2190,7 +2190,7 @@ ffetarget_print_hex (FILE *f, ffetargetTypeless value) ...@@ -2190,7 +2190,7 @@ ffetarget_print_hex (FILE *f, ffetargetTypeless value)
{ {
char *p; char *p;
char digits[sizeof (value) * CHAR_BIT / 4 + 1]; char digits[sizeof (value) * CHAR_BIT / 4 + 1];
static char hexdigits[16] = "0123456789ABCDEF"; static const char hexdigits[16] = "0123456789ABCDEF";
if (f == NULL) if (f == NULL)
f = dmpout; f = dmpout;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment