From eda988f14c13940ecf067539300c7192ca2aa968 Mon Sep 17 00:00:00 2001 From: ColumbusTech Date: Fri, 23 Nov 2018 21:53:34 +0300 Subject: [PATCH] Library --- corinfo.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/corinfo.h b/corinfo.h index d335c9b..dc0ce36 100644 --- a/corinfo.h +++ b/corinfo.h @@ -31,7 +31,7 @@ #endif #if !defined(__GNUC__) && !defined(_MSC_VER) - #error Unsupported compiler + #error 9*Unsupported compiler #endif #ifdef __linux @@ -122,12 +122,6 @@ static int __ram_info(struct corinfo* info); static int __hdd_info(struct corinfo* info); #ifdef __linux - static char* __skip_whitespace(char* str) - { - while (*str == ' ' || *str == '\n' || *str == '\t' || *str == '\r' || *str == '\f' || *str == '\v') str++; - return str; - } - int __cpu_info(struct corinfo* info) { info->Cpu.Count = sysconf(_SC_NPROCESSORS_ONLN);