mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 21:31:15 +02:00
Comply with -Wstrict-prototypes
This commit is contained in:

committed by
GitHub

parent
188d0d3c38
commit
dedea3a5a7
@ -98,7 +98,7 @@ typedef struct {
|
||||
Leaf leaf_80000004; // brand string
|
||||
} Leaves;
|
||||
|
||||
static Leaves ReadLeaves() {
|
||||
static Leaves ReadLeaves(void) {
|
||||
const Leaf leaf_0 = GetCpuidLeaf(0, 0);
|
||||
const uint32_t max_cpuid_leaf = leaf_0.eax;
|
||||
const Leaf leaf_80000000 = GetCpuidLeaf(0x80000000, 0);
|
||||
|
Reference in New Issue
Block a user