Merge pull request #26009 from arixmkii/check-c-gcc-15

Update "check.c" to be C23 compliant
This commit is contained in:
openshift-merge-bot[bot] 2025-04-29 09:31:35 +00:00 committed by GitHub
commit 8c78fe204d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
BOOL isWSLEnabled(); BOOL isWSLEnabled();
BOOL isHyperVEnabled(); BOOL isHyperVEnabled();
LPCWSTR boolToNStr(BOOL bool); LPCWSTR boolToNStr(BOOL value);
LPCSTR szSvcNameHyperv = TEXT("vmms"); LPCSTR szSvcNameHyperv = TEXT("vmms");
/** /**
@ -43,8 +43,8 @@ LPCSTR szSvcNameHyperv = TEXT("vmms");
return 0; return 0;
} }
LPCWSTR boolToNStr(BOOL bool) { LPCWSTR boolToNStr(BOOL value) {
return bool ? L"1" : L"0"; return value ? L"1" : L"0";
} }
BOOL isWSLEnabled() { BOOL isWSLEnabled() {