Received: from eggs.gnu.org ([2001:4830:134:3::10]:51101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgTBP-00070H-Ki for qemu-devel@nongnu.org; Sat, 03 May 2014 02:12:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgTBK-0001J9-MU for qemu-devel@nongnu.org; Sat, 03 May 2014 02:12:23 -0400 From: Stefan Weil Date: Sat, 3 May 2014 08:12:15 +0200 Message-Id: <1399097535-24897-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] qemu-timer: Add missing 'static' attribute List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org Cc: Stefan Weil , qemu-devel@nongnu.org This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil --- qemu-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-timer.c b/qemu-timer.c index e15ce47..9be1a41 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -56,7 +56,7 @@ typedef struct QEMUClock { } QEMUClock; QEMUTimerListGroup main_loop_tlg; -QEMUClock qemu_clocks[QEMU_CLOCK_MAX]; +static QEMUClock qemu_clocks[QEMU_CLOCK_MAX]; /* A QEMUTimerList is a list of timers attached to a clock. More * than one QEMUTimerList can be attached to each clock, for instance -- 1.7.10.4