summaryrefslogtreecommitdiff
path: root/utils/5c/gc.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/5c/gc.h')
-rw-r--r--utils/5c/gc.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/utils/5c/gc.h b/utils/5c/gc.h
index fa93cd0a..b9382a00 100644
--- a/utils/5c/gc.h
+++ b/utils/5c/gc.h
@@ -3,7 +3,7 @@
/*
* 5c/arm
- * Arm 7500
+ * Arm
*/
#define SZ_CHAR 1
#define SZ_SHORT 2
@@ -59,7 +59,7 @@ struct Prog
struct Case
{
Case* link;
- long val;
+ vlong val;
long label;
char def;
char isv;
@@ -68,7 +68,7 @@ struct Case
struct C1
{
- long val;
+ vlong val;
long label;
};
@@ -265,7 +265,7 @@ void gpseudo(int, Sym*, Node*);
/*
* swt.c
*/
-int swcmp(const void*, const void*);
+int swcmp(void*, void*);
void doswit(Node*);
void swit1(C1*, int, long, Node*);
void swit2(C1*, int, long, Node*, Node*);
@@ -276,7 +276,6 @@ long outstring(char*, long);
int mulcon(Node*, Node*);
Multab* mulcon0(long);
void nullwarn(Node*, Node*);
-void sextern(Sym*, Node*, long, long);
void gextern(Sym*, Node*, long, long);
void outcode(void);
void ieeedtod(Ieee*, double);
@@ -297,7 +296,7 @@ int Rconv(Fmt*);
* reg.c
*/
Reg* rega(void);
-int rcmp(const void*, const void*);
+int rcmp(void*, void*);
void regopt(Prog*);
void addmove(Reg*, int, int, int);
Bits mkvar(Adr*, int);