diff mbox

[12/25] sparse: fake_ymd and fake_hmsm can be static

Message ID 1424776479-13958-13-git-send-email-clg@fr.ibm.com
State Accepted
Headers show

Commit Message

Cédric Le Goater Feb. 24, 2015, 11:14 a.m. UTC
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
---
 hw/fake-rtc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/hw/fake-rtc.c b/hw/fake-rtc.c
index 06b6135e22be..538f59de2a05 100644
--- a/hw/fake-rtc.c
+++ b/hw/fake-rtc.c
@@ -19,8 +19,8 @@ 
 #include <opal-api.h>
 #include <mem_region.h>
 
-uint32_t *fake_ymd;
-uint64_t *fake_hmsm;
+static uint32_t *fake_ymd;
+static uint64_t *fake_hmsm;
 
 static int64_t fake_rtc_write(uint32_t ymd, uint64_t hmsm)
 {