gdb/
authorYao Qi <yao@codesourcery.com>
Fri, 30 Nov 2012 07:24:48 +0000 (07:24 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 30 Nov 2012 07:24:48 +0000 (07:24 +0000)
2012-11-30  Yao Qi  <yao@codesourcery.com>

* infrun.c: Make the declaration of 'init_infwait_state'
static.
(init_infwait_state): Make it 'static'.

gdb/ChangeLog
gdb/infrun.c

index d8635f1b3e14a5435c45bb948517db7134f9a46d..042f8852a6d235ccc621024b5a0830216c2c252a 100644 (file)
@@ -1,3 +1,9 @@
+2012-11-30  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c: Make the declaration of 'init_infwait_state'
+       static.
+       (init_infwait_state): Make it 'static'.
+
 2012-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * python/python.c (finalize_python): Cast unused PyGILState_Ensure
index e7c20e165b36d4c1f29cd333b73b06bac190ccbd..d0ff62a152faeabf8a51c6ef54edec6c433aee80 100644 (file)
@@ -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);