summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-11 23:17:11 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-11 23:17:11 +0000
commit974755deb9bbea37752d2202844a1f485e59c8e7 (patch)
tree6035e96dab509aba4f535fba25a9c58a29045ad3
parent4400334ffbffba2462d7e049c79907ff0b148a52 (diff)
-- Rename misc.c randnum.c
-- Delete misc.h git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@8 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
-rw-r--r--Makefile8
-rw-r--r--misc.h41
-rw-r--r--randnum.c (renamed from misc.c)0
3 files changed, 4 insertions, 45 deletions
diff --git a/Makefile b/Makefile
index 311e55d..024a4d7 100644
--- a/Makefile
+++ b/Makefile
@@ -122,8 +122,8 @@ nbench0.o: nbench0.h nbench0.c nmglobal.h hardware.h Makefile sysinfo.c sysinfoc
emfloat.o: emfloat.h emfloat.c nmglobal.h Makefile
$(CCC) $(DEFINES) $(CCCFLAGS) -c emfloat.c
-misc.o: misc.c Makefile
- $(CCC) $(DEFINES) $(CCCFLAGS) -c misc.c
+randnum.o: randnum.c Makefile
+ $(CCC) $(DEFINES) $(CCCFLAGS) -c randnum.c
numsort.o: numsort.c
$(CCC) $(DEFINES) $(CCCFLAGS) -c numsort.c
@@ -183,8 +183,8 @@ linear.o: linear.c
sysspec.o: sysspec.h sysspec.c nmglobal.h Makefile
$(GCC) $(DEFINES) $(GCCFLAGS) -c sysspec.c
-nbench: emfloat.o misc.o nbench0.o numsort.o sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o
- $(GCC) emfloat.o misc.o nbench0.o numsort.o sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o -o nbench -lm
+nbench: emfloat.o randnum.o nbench0.o numsort.o sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o
+ $(GCC) emfloat.o randnum.o nbench0.o numsort.o sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o -o nbench -lm
##########################################################################
diff --git a/misc.h b/misc.h
deleted file mode 100644
index 2fe70aa..0000000
--- a/misc.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-** misc.h
-** Header for misc.c
-** BYTEmark (tm)
-** BYTE's Native Mode Benchmarks
-** Rick Grehan, BYTE Magazine
-**
-** Creation:
-** Revision: 3/95
-**
-** DISCLAIMER
-** The source, executable, and documentation files that comprise
-** the BYTEmark benchmarks are made available on an "as is" basis.
-** This means that we at BYTE Magazine have made every reasonable
-** effort to verify that the there are no errors in the source and
-** executable code. We cannot, however, guarantee that the programs
-** are error-free. Consequently, McGraw-HIll and BYTE Magazine make
-** no claims in regard to the fitness of the source code, executable
-** code, and documentation of the BYTEmark.
-** Furthermore, BYTE Magazine, McGraw-Hill, and all employees
-** of McGraw-Hill cannot be held responsible for any damages resulting
-** from the use of this code or the results obtained from using
-** this code.
-*/
-
-/************************
-** FUNCTION PROTOTYPES **
-************************/
-
-/*
-long randwc(long num);
-unsigned long abs_randwc(unsigned long num);
-long randnum(long lngval);
-*/
-
-#include "nmglobal.h"
-int32_t randwc(int32_t num);
-uint32_t abs_randwc(uint32_t num);
-int32_t randnum(int32_t lngval);
-
-
diff --git a/misc.c b/randnum.c
index 7d2620f..7d2620f 100644
--- a/misc.c
+++ b/randnum.c