gdb/
authorYao Qi <yao@codesourcery.com>
Mon, 19 Nov 2012 06:56:52 +0000 (06:56 +0000)
committerYao Qi <yao@codesourcery.com>
Mon, 19 Nov 2012 06:56:52 +0000 (06:56 +0000)
2012-11-19  Yao Qi  <yao@codesourcery.com>

* infrun.c (infwait_state): Add static.

gdb/ChangeLog
gdb/infrun.c

index 8c71e72a9ba19046d8efce6dbf1e1faac86aa371..613bf2e328136b54f51ddf113fd176b6dfc70db4 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-19  Yao Qi  <yao@codesourcery.com>
+
+       * infrun.c (infwait_state): Add static.
+
 2012-11-16  Keith Seitz  <keiths@redhat.com>
 
        PR c++/13615
index 4efc2af9e88683bd2f9b794894dec1dbf21f9c64..b29fd2ff345822ebc68918b2cc00506ee9d0a5b6 100644 (file)
@@ -2392,7 +2392,7 @@ enum infwait_states
 ptid_t waiton_ptid;
 
 /* Current inferior wait state.  */
-enum infwait_states infwait_state;
+static enum infwait_states infwait_state;
 
 /* Data to be passed around while handling an event.  This data is
    discarded between events.  */
This page took 0.033035 seconds and 4 git commands to generate.