diff options
Diffstat (limited to 'hardware.c')
-rw-r--r-- | hardware.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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; -} -*/ |