mirror of
https://github.com/google/cpu_features.git
synced 2025-04-28 15:33:37 +02:00
Comply with -Wstrict-prototypes
This commit is contained in:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user