/* Cell-based print utility routines for GDB, the GNU debugger.
- Copyright (C) 1986-2016 Free Software Foundation, Inc.
+ Copyright (C) 1986-2019 Free Software Foundation, Inc.
This file is part of GDB.
}
static char *
-decimal2str (char *sign, ULONGEST addr, int width)
+decimal2str (const char *sign, ULONGEST addr, int width)
{
/* Steal code from valprint.c:print_decimal(). Should this worry
about the real size of addr as the above does? */
/* See print-utils.h. */
char *
-int_string (LONGEST val, int radix, int is_signed, int width,
+int_string (LONGEST val, int radix, int is_signed, int width,
int use_c_format)
{
- switch (radix)
+ switch (radix)
{
case 16:
{
internal_error (__FILE__, __LINE__,
_("failed internal consistency check"));
}
-}
+}
/* See print-utils.h. */