From 7a57eeccd8ded740d88aba3ea9dcb09050983dd0 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 12 Nov 2008 23:02:01 +0000 Subject: Remove stupid MAXPOSLONG define (otherwise standardized as LONG_MAX) git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@13 0d43b9a7-5ab2-4d7b-af9d-f64450cef757 --- nbench0.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nbench0.h') diff --git a/nbench0.h b/nbench0.h index d5d76b1..947feba 100644 --- a/nbench0.h +++ b/nbench0.h @@ -206,8 +206,8 @@ char buffer[BUF_SIZ]; /* ** Global parameters. */ -ulong global_min_ticks; /* Minimum ticks */ -ulong global_min_seconds; /* Minimum seconds tests run */ +unsigned long global_min_ticks; /* Minimum ticks */ +unsigned long global_min_seconds; /* Minimum seconds tests run */ int global_allstats; /* Statistics dump flag */ char global_ofile_name[BUF_SIZ];/* Output file name */ FILE *global_ofile; /* Output file */ @@ -219,7 +219,7 @@ int global_align; /* Memory alignment */ ** Following global is the memory array. This is used to store ** original and aligned (modified) memory addresses. */ -ulong mem_array[2][MEM_ARRAY_SIZE]; +unsigned long mem_array[2][MEM_ARRAY_SIZE]; int mem_array_ents; /* # of active entries */ /* @@ -302,7 +302,7 @@ static int getflag(char *cptr); static void strtoupper(char *s); static void set_request_secs(void); static int bench_with_confidence(int fid, - double *mean, double *stdev, ulong *numtries); + double *mean, double *stdev, unsigned long *numtries); /* static int seek_confidence(double scores[5], double *newscore, double *c_half_interval, -- cgit v1.2.3