From 8870954f6bced90882a0148c38def8e1f79b6e30 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Mon, 19 Nov 2012 06:56:52 +0000 Subject: [PATCH] gdb/ 2012-11-19 Yao Qi * infrun.c (infwait_state): Add static. --- gdb/ChangeLog | 4 ++++ gdb/infrun.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8c71e72a9ba..613bf2e3281 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-11-19 Yao Qi + + * infrun.c (infwait_state): Add static. + 2012-11-16 Keith Seitz PR c++/13615 diff --git a/gdb/infrun.c b/gdb/infrun.c index 4efc2af9e88..b29fd2ff345 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. */ -- 2.30.2