8256a18656
broke the build with GCC 4.x.
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
$NetBSD: patch-ae,v 1.1 2006/07/02 15:47:16 tron Exp $
|
|
|
|
--- src/cia.c.orig 2005-07-02 17:24:06.000000000 +0100
|
|
+++ src/cia.c 2006-07-02 16:29:42.000000000 +0100
|
|
@@ -46,18 +46,18 @@
|
|
static unsigned int clock_control_e = 0;
|
|
static unsigned int clock_control_f = RTC_F_24_12;
|
|
|
|
-static unsigned int ciaaicr, ciaaimask, ciabicr, ciabimask;
|
|
-static unsigned int ciaacra, ciaacrb, ciabcra, ciabcrb;
|
|
+unsigned int ciaaicr, ciaaimask, ciabicr, ciabimask;
|
|
+unsigned int ciaacra, ciaacrb, ciabcra, ciabcrb;
|
|
|
|
/* Values of the CIA timers. */
|
|
-static unsigned long ciaata, ciaatb, ciabta, ciabtb;
|
|
+unsigned long ciaata, ciaatb, ciabta, ciabtb;
|
|
/* Computed by compute_passed_time. */
|
|
-static unsigned long ciaata_passed, ciaatb_passed, ciabta_passed, ciabtb_passed;
|
|
+unsigned long ciaata_passed, ciaatb_passed, ciabta_passed, ciabtb_passed;
|
|
|
|
-static unsigned long ciaatod, ciabtod, ciaatol, ciabtol, ciaaalarm, ciabalarm;
|
|
-static int ciaatlatch, ciabtlatch;
|
|
+unsigned long ciaatod, ciabtod, ciaatol, ciabtol, ciaaalarm, ciabalarm;
|
|
+int ciaatlatch, ciabtlatch;
|
|
|
|
-static unsigned int ciabpra;
|
|
+unsigned int ciabpra;
|
|
|
|
unsigned int gui_ledstate;
|
|
|