diff options
author | Yao Qi <yao@codesourcery.com> | 2012-11-30 07:24:48 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-11-30 07:24:48 +0000 |
commit | 7a76f5b828a3d5e54e45988000de26121db9917e (patch) | |
tree | 69affb2b3445b719d786cb8737b3790e2f57bae1 /gdb/infrun.c | |
parent | 627b30b77e95fbdbb8b3b762cd75507380f99538 (diff) | |
download | gdb-7a76f5b828a3d5e54e45988000de26121db9917e.zip gdb-7a76f5b828a3d5e54e45988000de26121db9917e.tar.gz gdb-7a76f5b828a3d5e54e45988000de26121db9917e.tar.bz2 |
gdb/
2012-11-30 Yao Qi <yao@codesourcery.com>
* infrun.c: Make the declaration of 'init_infwait_state'
static.
(init_infwait_state): Make it 'static'.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index e7c20e1..d0ff62a 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); |