source: liacs/ca/opdr3/src/dinero.diff@ 84

Last change on this file since 84 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

File size: 3.8 KB
  • dinero/src/Makefile

    diff -ur orig/dinero/src/Makefile dinero/src/Makefile
    old new  
     1CFLAGS        = -g
     2
    13DEST          = ../bin
    24
    35EXTHDRS       = /usr/include/stdio.h
     
    6365init.o: global.h /usr/include/stdio.h
    6466main.o: global.h /usr/include/stdio.h
    6567output.o: global.h /usr/include/stdio.h
    66 state.o: global.h /usr/include/stdio.h
     68state.o: global.h
  • dinero/src/cmdargs.c

    diff -ur orig/dinero/src/cmdargs.c dinero/src/cmdargs.c
    old new  
    3333*/ 
    3434
    3535#include "global.h"
     36#include <stdio.h>
    3637
    3738getcmdargs(argc,argv,           /* Analyze command line arguments. */
    3839                  cachep,policyp,ctrlp)
  • dinero/src/fetch.c

    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
    old new  
    3333*/ 
    3434
    3535#include "global.h"
     36#include <stdio.h>
    3637
    3738fetch(                                  /* Get addr from input stream & decode*/
    3839        cachep,ctrlp,metricp,dap)       
  • dinero/src/global.h

    Binary files orig/dinero/src/fetch.o and dinero/src/fetch.o differ
    diff -ur orig/dinero/src/global.h dinero/src/global.h
    old new  
    4646*/
    4747#define FAST_BUT_DANGEROUS_INPUT
    4848
    49 #include <stdio.h>
     49// #include <stdio.h>
    5050
    5151/*
    5252**      Make global variables declarations just "extern" declarations
  • dinero/src/init.c

    diff -ur orig/dinero/src/init.c dinero/src/init.c
    old new  
    3333*/ 
    3434
    3535#include "global.h"
     36#include <stdio.h>
    3637
    3738init(argc,argv,                 /* Initialize. */
    3839                cachep,policyp,ctrlp,metricp)
  • dinero/src/main.c

    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
    old new  
    3434
    3535#define PUBLIC
    3636#include "global.h"
     37#include <stdio.h>
    3738
    3839main(argc,argv)                 /* Dinero III Cache Simulator (see doc.h). */
    3940int argc;               /* < */
  • dinero/src/output.c

    Binary files orig/dinero/src/main.o and dinero/src/main.o differ
    diff -ur orig/dinero/src/output.c dinero/src/output.c
    old new  
    3333*/ 
    3434
    3535#include "global.h"
     36#include <stdio.h>
    3637
    3738/*
    3839**      Used so that "numerator / NONZERO(denomenator)" will
  • dinero/src/state.c

    Binary files orig/dinero/src/output.o and dinero/src/output.o differ
    diff -ur orig/dinero/src/state.c dinero/src/state.c
    old new  
    3333*/ 
    3434
    3535#include  "global.h"
     36#include <stdlib.h>
     37#include <stdio.h>
    3638
    3739update(                         /* Update */
    3840                cachep,policyp,ctrlp,metricp,dap)
     
    300302
    301303
    302304
    303 remove(preptr,ptr,stacknum)     /* Remove node from a priority stack  */
     305nremove(preptr,ptr,stacknum)    /* Remove node from a priority stack  */
    304306STACKNODETYPE *preptr;          /* < ptr to node preceeding the one to be
    305307                                   removed */
    306308STACKNODETYPE *ptr;             /* < ptr to node to be removed */
     
    496498static STACKNODETYPE *buffer;
    497499extern int bufferindex;         /* global index to buffer */
    498500extern STACKNODETYPE freelist;  /* List head for free list */
    499 extern char *calloc();
     501//extern char *calloc();
    500502extern int numnodes;            /* Count on storage allocated */
    501503STACKNODETYPE *ptr;
    502504/*
Note: See TracBrowser for help on using the repository browser.