From 7a76f5b828a3d5e54e45988000de26121db9917e Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 30 Nov 2012 07:24:48 +0000 Subject: [PATCH] gdb/ 2012-11-30 Yao Qi * infrun.c: Make the declaration of 'init_infwait_state' static. (init_infwait_state): Make it 'static'. --- gdb/ChangeLog | 6 ++++++ gdb/infrun.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d8635f1b3e1..042f8852a6d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-11-30 Yao Qi + + * infrun.c: Make the declaration of 'init_infwait_state' + static. + (init_infwait_state): Make it 'static'. + 2012-11-29 Ulrich Weigand * python/python.c (finalize_python): Cast unused PyGILState_Ensure diff --git a/gdb/infrun.c b/gdb/infrun.c index e7c20e165b3..d0ff62a152f 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -397,7 +397,7 @@ static void context_switch (ptid_t ptid); void init_thread_stepping_state (struct thread_info *tss); -void init_infwait_state (void); +static void init_infwait_state (void); static const char follow_fork_mode_child[] = "child"; static const char follow_fork_mode_parent[] = "parent"; @@ -3033,7 +3033,7 @@ adjust_pc_after_break (struct execution_control_state *ecs) } } -void +static void init_infwait_state (void) { waiton_ptid = pid_to_ptid (-1); -- 2.30.2