This commit is contained in:
David Given 2018-09-10 22:55:05 +02:00
parent 9733454d8e
commit 53f7de794a
2 changed files with 3 additions and 4 deletions

View file

@ -275,7 +275,7 @@ int sz;
#endif /* USE_FLT */ #endif /* USE_FLT */
#ifdef CODE_GENERATOR #ifdef CODE_GENERATOR
con_float() void con_float(void)
{ {
char buf[8]; char buf[8];
int rval = float_cst(str, (int)argval, buf); int rval = float_cst(str, (int)argval, buf);
@ -301,8 +301,7 @@ con_float()
#endif /* CODE_GENERATOR */ #endif /* CODE_GENERATOR */
#ifdef CODE_EXPANDER #ifdef CODE_EXPANDER
con_float(str, argval) char* str; void con_float(const char* str, arith argval)
arith argval;
{ {
char buf[8]; char buf[8];
int rval = float_cst(str, (int)argval, buf); int rval = float_cst(str, (int)argval, buf);

View file

@ -83,7 +83,7 @@ extern short em_ptyp[];
/* machine dependent */ /* machine dependent */
void con_part(int, word); void con_part(int, word);
void con_mult(word); void con_mult(word);
int con_float(void); /* actually returns void, but need K&R C compatibility */ void con_float(void); /* actually returns void, but need K&R C compatibility */
void prolog(full nlocals); void prolog(full nlocals);
void mes(word); void mes(word);