mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 23:26:51 +08:00
constify stack.c
This constifies a couple of functions in stack.c. 2014-07-24 Tom Tromey <tromey@redhat.com> * stack.c (up_silently_base, down_silently_base): Make argument const.
This commit is contained in:
@ -2306,7 +2306,7 @@ current_frame_command (char *level_exp, int from_tty)
|
||||
previously selected frame, and print it briefly. */
|
||||
|
||||
static void
|
||||
up_silently_base (char *count_exp)
|
||||
up_silently_base (const char *count_exp)
|
||||
{
|
||||
struct frame_info *frame;
|
||||
int count = 1;
|
||||
@ -2337,7 +2337,7 @@ up_command (char *count_exp, int from_tty)
|
||||
selected frame, and print it briefly. */
|
||||
|
||||
static void
|
||||
down_silently_base (char *count_exp)
|
||||
down_silently_base (const char *count_exp)
|
||||
{
|
||||
struct frame_info *frame;
|
||||
int count = -1;
|
||||
|
Reference in New Issue
Block a user