diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-26 13:43:07 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-26 13:43:07 +0000 |
commit | b1d8e52e636fd2c137e5abb2d59b331473e0930d (patch) | |
tree | b9fe10850b589a60f5dade8cdf3407c67428127b /hw/ppc.c | |
parent | 51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff) |
Fix undeclared symbol warnings from sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc.c')
-rw-r--r-- | hw/ppc.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |