summaryrefslogtreecommitdiff
path: root/hardware.c
diff options
context:
space:
mode:
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;
-}
-*/