From b1d8e52e636fd2c137e5abb2d59b331473e0930d Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 26 Oct 2008 13:43:07 +0000 Subject: Fix undeclared symbol warnings from sparse git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ppc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hw/ppc.c') diff --git a/hw/ppc.c b/hw/ppc.c index c1bc486e05..60d6e86cf0 100644 --- a/hw/ppc.c +++ b/hw/ppc.c @@ -806,10 +806,12 @@ clk_setup_cb cpu_ppc_tb_init (CPUState *env, uint32_t freq) } /* Specific helpers for POWER & PowerPC 601 RTC */ -clk_setup_cb cpu_ppc601_rtc_init (CPUState *env) +#if 0 +static clk_setup_cb cpu_ppc601_rtc_init (CPUState *env) { return cpu_ppc_tb_init(env, 7812500); } +#endif void cpu_ppc601_store_rtcu (CPUState *env, uint32_t value) { @@ -1343,7 +1345,7 @@ static uint16_t NVRAM_crc_update (uint16_t prev, uint16_t value) return tmp; } -uint16_t NVRAM_compute_crc (nvram_t *nvram, uint32_t start, uint32_t count) +static uint16_t NVRAM_compute_crc (nvram_t *nvram, uint32_t start, uint32_t count) { uint32_t i; uint16_t crc = 0xFFFF; -- cgit 1.4.1