[llvm] 7b0dad9 - No reason for these not to have prototypes; NFC

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 15:53:32 PDT 2022


Author: Aaron Ballman
Date: 2022-04-08T18:53:23-04:00
New Revision: 7b0dad9a0204604bd72a5af4c94ba31c5133f71f

URL: https://github.com/llvm/llvm-project/commit/7b0dad9a0204604bd72a5af4c94ba31c5133f71f
DIFF: https://github.com/llvm/llvm-project/commit/7b0dad9a0204604bd72a5af4c94ba31c5133f71f.diff

LOG: No reason for these not to have prototypes; NFC

This should speculatively fix build bots:

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

Added: 
    

Modified: 
    llvm/lib/Support/BLAKE3/blake3_dispatch.c

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/BLAKE3/blake3_dispatch.c b/llvm/lib/Support/BLAKE3/blake3_dispatch.c
index 072dab8f1aa9b..e96e714225f41 100644
--- a/llvm/lib/Support/BLAKE3/blake3_dispatch.c
+++ b/llvm/lib/Support/BLAKE3/blake3_dispatch.c
@@ -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;


        


More information about the llvm-commits mailing list