mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v1.03] Add void to function declarations with no args. C99 Standard says in 6.7.5.3 that empty arguments are actually obsolescent - this commit fixes a warning in some compilers
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
#include "../common/udev.h"
|
||||
|
||||
#define UNKNOWN -1
|
||||
int get_ncores_from_cpuinfo();
|
||||
int get_ncores_from_cpuinfo(void);
|
||||
uint32_t get_midr_from_cpuinfo(uint32_t core, bool* success);
|
||||
char* get_hardware_from_cpuinfo();
|
||||
char* get_revision_from_cpuinfo();
|
||||
bool is_raspberry_pi();
|
||||
char* get_hardware_from_cpuinfo(void);
|
||||
char* get_revision_from_cpuinfo(void);
|
||||
bool is_raspberry_pi(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user