Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/cpu_features.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2022-04-13 14:21:32 +0300
committerGitHub <noreply@github.com>2022-04-13 14:21:32 +0300
commitdedea3a5a77f12af0639754a863b9fa5f9e7a411 (patch)
tree8957d022e36b32230bad615ae6e865c4f7b42a31
parent188d0d3c383689cdb6bb70dc6da2469faec84f61 (diff)
Comply with -Wstrict-prototypes
-rw-r--r--src/impl_x86__base_implementation.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/impl_x86__base_implementation.inl b/src/impl_x86__base_implementation.inl
index 09f24b2..9804df7 100644
--- a/src/impl_x86__base_implementation.inl
+++ b/src/impl_x86__base_implementation.inl
@@ -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);