]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix function pointer definition mismatch
authorKruti Pendharkar <kp025370@broadcom.com>
Tue, 18 Feb 2025 09:13:55 +0000 (01:13 -0800)
committerKruti Pendharkar <kp025370@broadcom.com>
Tue, 18 Feb 2025 09:13:55 +0000 (01:13 -0800)
Caught with -std=c23 option which is the default for gcc-15

Pull request: https://github.com/vmware/open-vm-tools/pull/751
Addresses issue: https://github.com/vmware/open-vm-tools/issues/750

open-vm-tools/AUTHORS
open-vm-tools/lib/lock/ul.c

index b871a0235954543114fa69972a7f2c706bccbb3c..0a6587dcbce85d1a130bce86904a0b2e7cd81a3b 100644 (file)
@@ -101,3 +101,6 @@ Joseph Allen    Updated NetworkManager calls in suspend/resume scripts
 Brennan Kinney  Revise settings for vmware-user.desktop
                 - https://github.com/vmware/open-vm-tools/pull/668
 
+Rudy Heitbaum  Fix build when compiling with -std=c23
+                - https://github.com/vmware/open-vm-tools/pull/751
+
index d376a98afaf9ed2f56dba458bce9b645fac4f4ed..87ffc8dc65e2c74b7376434a261fe4b608920c8e 100644 (file)
@@ -29,7 +29,7 @@
 static Bool mxInPanic = FALSE;  // track when involved in a panic
 static Bool mxUserCollectLockingTree = FALSE;
 
-Bool (*MXUserTryAcquireForceFail)() = NULL;
+Bool (*MXUserTryAcquireForceFail)(const char *name) = NULL;
 
 static MX_Rank (*MXUserMxCheckRank)(void) = NULL;
 static void (*MXUserMxLockLister)(void) = NULL;