aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2014-01-11 23:44:41 +0100
committerMichael Matz <matz@suse.de>2014-01-11 23:44:41 +0100
commit9c6ddbfe903445763405d2c8bdec916c8a20f105 (patch)
tree96185ec90a61f38ae8ca07ab075a6ab23b30df23
parent9e11476e1534152c7ec994afd4e23553c44722cc (diff)
downloadtinycc-9c6ddbfe903445763405d2c8bdec916c8a20f105.tar.gz
tinycc-9c6ddbfe903445763405d2c8bdec916c8a20f105.tar.bz2
Fix compile on ARM non-eabi and non-vfp
Adjust arm_init prototype to match declaration.
-rw-r--r--arm-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm-gen.c b/arm-gen.c
index bc24f70..9611dca 100644
--- a/arm-gen.c
+++ b/arm-gen.c
@@ -191,7 +191,7 @@ ST_FUNC void arm_init(struct TCCState *s)
#define func_float_type func_old_type
#define func_double_type func_old_type
#define func_ldouble_type func_old_type
-ST_FUNC void arm_init(void) {}
+ST_FUNC void arm_init(struct TCCState *s) {}
#endif
static int two2mask(int a,int b) {