forked from OSchip/llvm-project
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
This commit is contained in:
parent
0bc9372fa7
commit
7b0dad9a02
|
@ -17,7 +17,7 @@
|
||||||
#define MAYBE_UNUSED(x) (void)((x))
|
#define MAYBE_UNUSED(x) (void)((x))
|
||||||
|
|
||||||
#if defined(IS_X86)
|
#if defined(IS_X86)
|
||||||
static uint64_t xgetbv() {
|
static uint64_t xgetbv(void) {
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
return _xgetbv(0);
|
return _xgetbv(0);
|
||||||
#else
|
#else
|
||||||
|
@ -83,7 +83,7 @@ LLVM_ATTRIBUTE_USED
|
||||||
static
|
static
|
||||||
#endif
|
#endif
|
||||||
enum cpu_feature
|
enum cpu_feature
|
||||||
get_cpu_features() {
|
get_cpu_features(void) {
|
||||||
|
|
||||||
if (g_cpu_features != UNDEFINED) {
|
if (g_cpu_features != UNDEFINED) {
|
||||||
return g_cpu_features;
|
return g_cpu_features;
|
||||||
|
|
Loading…
Reference in New Issue