No reason for these not to have prototypes; NFC
authorAaron Ballman <aaron@aaronballman.com>
Fri, 8 Apr 2022 22:52:06 +0000 (18:52 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 8 Apr 2022 22:53:23 +0000 (18:53 -0400)
This should speculatively fix build bots:

https://lab.llvm.org/buildbot#builders/19/builds/10294
https://lab.llvm.org/buildbot#builders/37/builds/12289

llvm/lib/Support/BLAKE3/blake3_dispatch.c

index 072dab8..e96e714 100644 (file)
@@ -17,7 +17,7 @@
 #define MAYBE_UNUSED(x) (void)((x))
 
 #if defined(IS_X86)
-static uint64_t xgetbv() {
+static uint64_t xgetbv(void) {
 #if defined(_MSC_VER)
   return _xgetbv(0);
 #else
@@ -83,7 +83,7 @@ LLVM_ATTRIBUTE_USED
 static
 #endif
     enum cpu_feature
-    get_cpu_features() {
+    get_cpu_features(void) {
 
   if (g_cpu_features != UNDEFINED) {
     return g_cpu_features;