ack/mach/proto/ncg
George Koehler 5301cceee3 Declare machine-dependent functions in mach/proto/ncg
This breaks all machines because the declared return type void
disagrees with the implicit return type int (when I compile mach.c
with clang).  Unbreak i386, i80, i86, m68020, powerpc, vc4 by adding
the return types to mach.c.  We don't build any other machines; they
are broken since commit a46ee91 (May 19, 2013) declared void prolog()
and commit fd91851 (Nov 10, 2016) declared void mes(), with both
declarations in mach/proto/ncg/fillem.c.

Also fix mach/vc4/ncg/mach.c where type full is long, so fprintf()
must use "%ld" not "%d" to print full nlocals.
2017-11-13 14:23:44 -05:00
..
build.lua Remove old "assert.h" in mach/proto/ncg 2017-11-11 19:35:48 -05:00
codegen.c Declare machine-dependent functions in mach/proto/ncg 2017-11-13 14:23:44 -05:00
compute.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
data.h More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
equiv.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
equiv.h More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
extern.h More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
fillem.c Declare machine-dependent functions in mach/proto/ncg 2017-11-13 14:23:44 -05:00
gencode.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
glosym.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
glosym.h More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
label.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
label.h More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
main.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
move.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
nextem.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
param.h Header --> Id 1994-06-24 14:02:31 +00:00
proto.make Header --> Id 1994-06-24 14:02:31 +00:00
reg.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
regvar.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
regvar.h Declare machine-dependent functions in mach/proto/ncg 2017-11-13 14:23:44 -05:00
result.h More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
salloc.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
state.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
state.h More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
subr.c More prototypes, less register in mach/proto/ncg 2017-11-13 12:44:17 -05:00
types.h Declare machine-dependent functions in mach/proto/ncg 2017-11-13 14:23:44 -05:00
var.c Header --> Id 1994-06-24 14:02:31 +00:00