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

Cédric Le Goater clg at fr.ibm.com
Tue Feb 24 22:14:26 AEDT 2015


Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
 hw/fake-rtc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)
 {
-- 
1.7.10.4



More information about the Skiboot mailing list