diff -ur orig/dinero/src/Makefile dinero/src/Makefile --- orig/dinero/src/Makefile 1992-01-20 15:56:51.000000000 +0100 +++ dinero/src/Makefile 2007-12-22 17:36:25.000000000 +0100 @@ -1,3 +1,5 @@ +CFLAGS = -g + DEST = ../bin EXTHDRS = /usr/include/stdio.h @@ -63,4 +65,4 @@ init.o: global.h /usr/include/stdio.h main.o: global.h /usr/include/stdio.h output.o: global.h /usr/include/stdio.h -state.o: global.h /usr/include/stdio.h +state.o: global.h diff -ur orig/dinero/src/cmdargs.c dinero/src/cmdargs.c --- orig/dinero/src/cmdargs.c 1989-07-07 21:17:24.000000000 +0200 +++ dinero/src/cmdargs.c 2007-12-22 17:37:55.000000000 +0100 @@ -33,6 +33,7 @@ */ #include "global.h" +#include getcmdargs(argc,argv, /* Analyze command line arguments. */ cachep,policyp,ctrlp) Binary files orig/dinero/src/cmdargs.o and dinero/src/cmdargs.o differ Binary files orig/dinero/src/dinero and dinero/src/dinero differ diff -ur orig/dinero/src/fetch.c dinero/src/fetch.c --- orig/dinero/src/fetch.c 1989-07-07 21:17:25.000000000 +0200 +++ dinero/src/fetch.c 2007-12-22 17:38:12.000000000 +0100 @@ -33,6 +33,7 @@ */ #include "global.h" +#include fetch( /* Get addr from input stream & decode*/ cachep,ctrlp,metricp,dap) Binary files orig/dinero/src/fetch.o and dinero/src/fetch.o differ diff -ur orig/dinero/src/global.h dinero/src/global.h --- orig/dinero/src/global.h 1989-07-07 21:17:25.000000000 +0200 +++ dinero/src/global.h 2007-12-22 17:37:11.000000000 +0100 @@ -46,7 +46,7 @@ */ #define FAST_BUT_DANGEROUS_INPUT -#include +// #include /* ** Make global variables declarations just "extern" declarations diff -ur orig/dinero/src/init.c dinero/src/init.c --- orig/dinero/src/init.c 1989-07-07 21:17:26.000000000 +0200 +++ dinero/src/init.c 2007-12-22 17:38:24.000000000 +0100 @@ -33,6 +33,7 @@ */ #include "global.h" +#include init(argc,argv, /* Initialize. */ cachep,policyp,ctrlp,metricp) Binary files orig/dinero/src/init.o and dinero/src/init.o differ Binary files orig/dinero/src/local.o and dinero/src/local.o differ diff -ur orig/dinero/src/main.c dinero/src/main.c --- orig/dinero/src/main.c 1989-07-07 21:17:27.000000000 +0200 +++ dinero/src/main.c 2007-12-22 17:38:49.000000000 +0100 @@ -34,6 +34,7 @@ #define PUBLIC #include "global.h" +#include main(argc,argv) /* Dinero III Cache Simulator (see doc.h). */ int argc; /* < */ Binary files orig/dinero/src/main.o and dinero/src/main.o differ diff -ur orig/dinero/src/output.c dinero/src/output.c --- orig/dinero/src/output.c 1989-07-07 21:17:27.000000000 +0200 +++ dinero/src/output.c 2007-12-22 17:39:05.000000000 +0100 @@ -33,6 +33,7 @@ */ #include "global.h" +#include /* ** Used so that "numerator / NONZERO(denomenator)" will Binary files orig/dinero/src/output.o and dinero/src/output.o differ diff -ur orig/dinero/src/state.c dinero/src/state.c --- orig/dinero/src/state.c 1989-07-07 21:17:30.000000000 +0200 +++ dinero/src/state.c 2007-12-22 17:48:52.000000000 +0100 @@ -33,6 +33,8 @@ */ #include "global.h" +#include +#include update( /* Update */ cachep,policyp,ctrlp,metricp,dap) @@ -300,7 +302,7 @@ -remove(preptr,ptr,stacknum) /* Remove node from a priority stack */ +nremove(preptr,ptr,stacknum) /* Remove node from a priority stack */ STACKNODETYPE *preptr; /* < ptr to node preceeding the one to be removed */ STACKNODETYPE *ptr; /* < ptr to node to be removed */ @@ -496,7 +498,7 @@ static STACKNODETYPE *buffer; extern int bufferindex; /* global index to buffer */ extern STACKNODETYPE freelist; /* List head for free list */ -extern char *calloc(); +//extern char *calloc(); extern int numnodes; /* Count on storage allocated */ STACKNODETYPE *ptr; /* Binary files orig/dinero/src/state.o and dinero/src/state.o differ