mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v1.03] Lets follow the function prototype rules
This commit is contained in:
@@ -618,7 +618,7 @@ struct system_on_chip* guess_soc_from_cpuinfo(struct system_on_chip* soc) {
|
||||
return soc;
|
||||
}
|
||||
|
||||
char* get_rk_efuse() {
|
||||
char* get_rk_efuse(void) {
|
||||
int filelen;
|
||||
char* rk_soc = read_file(_PATH_RK_EFUSE0, &filelen);
|
||||
if(rk_soc == NULL) {
|
||||
|
||||
@@ -86,7 +86,7 @@ char* get_uarch_from_cpuinfo(void) {
|
||||
return parse_cpuinfo_field(CPUINFO_UARCH_STR);
|
||||
}
|
||||
|
||||
char* get_extensions_from_cpuinfo() {
|
||||
char* get_extensions_from_cpuinfo(void) {
|
||||
return parse_cpuinfo_field(CPUINFO_EXTENSIONS_STR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user