]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix function pointer definition mismatch
authorKruti Pendharkar <kp025370@broadcom.com>
Fri, 21 Feb 2025 13:54:27 +0000 (05:54 -0800)
committerKruti Pendharkar <kp025370@broadcom.com>
Fri, 21 Feb 2025 13:54:27 +0000 (05:54 -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..f8da85626f3469577f1ab9045e4d8282dcbc565c 100644 (file)
@@ -101,3 +101,5 @@ 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;