aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-11-19 06:56:52 +0000
committerYao Qi <yao@codesourcery.com>2012-11-19 06:56:52 +0000
commit8870954f6bced90882a0148c38def8e1f79b6e30 (patch)
treed65d6a12f323d9bc9bce85c9b73ace0efc7b15a5 /gdb/infrun.c
parenta074907cb0b5382f8d0f8dbffadf9053aad240bb (diff)
downloadgdb-8870954f6bced90882a0148c38def8e1f79b6e30.zip
gdb-8870954f6bced90882a0148c38def8e1f79b6e30.tar.gz
gdb-8870954f6bced90882a0148c38def8e1f79b6e30.tar.bz2
gdb/
2012-11-19 Yao Qi <yao@codesourcery.com> * infrun.c (infwait_state): Add static.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 4efc2af..b29fd2f 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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. */