summaryrefslogtreecommitdiffstats
path: root/hw/arm_timer.c
diff options
context:
space:
mode:
authorpbrook2007-11-18 02:44:38 +0100
committerpbrook2007-11-18 02:44:38 +0100
commit9596ebb7012a19a45ca036a200acd617a93a321b (patch)
treedf011db5945e48dc0c86c04daf2c2072f43f2867 /hw/arm_timer.c
parentImprove PowerPC instructions set dump. (diff)
downloadqemu-9596ebb7012a19a45ca036a200acd617a93a321b.tar.gz
qemu-9596ebb7012a19a45ca036a200acd617a93a321b.tar.xz
qemu-9596ebb7012a19a45ca036a200acd617a93a321b.zip
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/arm_timer.c')
-rw-r--r--hw/arm_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm_timer.c b/hw/arm_timer.c
index 417d53db84..540d3dea1b 100644
--- a/hw/arm_timer.c
+++ b/hw/arm_timer.c
@@ -8,8 +8,8 @@
*/
#include "hw.h"
-#include "arm-misc.h"
#include "qemu-timer.h"
+#include "primecell.h"
/* Common timer implementation. */
@@ -43,7 +43,7 @@ static void arm_timer_update(arm_timer_state *s)
}
}
-uint32_t arm_timer_read(void *opaque, target_phys_addr_t offset)
+static uint32_t arm_timer_read(void *opaque, target_phys_addr_t offset)
{
arm_timer_state *s = (arm_timer_state *)opaque;