summaryrefslogtreecommitdiff
path: root/hardware.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-15 04:02:27 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-15 04:02:27 +0000
commit715f9e55d9af912cc193f79328024c1af9e5e25f (patch)
tree6fbee73964b1bdf61cd882bb2fabde7f97786422 /hardware.c
parenteaf59c0a4f701b19168a34f0c0cb823f59fe1cc6 (diff)
Begin major cleanup of cleanbench.c
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@55 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'hardware.c')
-rw-r--r--hardware.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/hardware.c b/hardware.c
index 2508bf8..4faafbd 100644
--- a/hardware.c
+++ b/hardware.c
@@ -145,7 +145,6 @@ static void readProcCpuInfo (char *model, char *cache) {
** Reads /proc/cpuinfo if on a linux system
** Writes output
*/
-#define BUF_SIZ 1024
void hardware(void) {
char os[BUF_SIZ];
@@ -167,17 +166,3 @@ void hardware(void) {
printf("L2 Cache : %s\n", cache);
printf("OS : %s\n", os);
}
-
-
-/************************
-** main for hardware.c **
-*************************
-** For testing of code only
-** Should be commented out
-*/
-/*
-int main(int argc, char * argv[]) {
- hardware(0, NULL);
- return 0;
-}
-*/