Skip to content

Commit 2bff25d

Browse files
author
Kruti Pendharkar
committed
Fix function pointer definition mismatch
Caught with -std=c23 option which is the default for gcc-15 Pull request: #751 Addresses issue: #750
1 parent 1a9389c commit 2bff25d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

open-vm-tools/AUTHORS

+3
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,6 @@ Joseph Allen Updated NetworkManager calls in suspend/resume scripts
101101
Brennan Kinney Revise settings for vmware-user.desktop
102102
- https://github.com/vmware/open-vm-tools/pull/668
103103

104+
Rudy Heitbaum Fix build when compiling with -std=c23
105+
- https://github.com/vmware/open-vm-tools/pull/751
106+

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
static Bool mxInPanic = FALSE; // track when involved in a panic
3030
static Bool mxUserCollectLockingTree = FALSE;
3131

32-
Bool (*MXUserTryAcquireForceFail)() = NULL;
32+
Bool (*MXUserTryAcquireForceFail)(const char *name) = NULL;
3333

3434
static MX_Rank (*MXUserMxCheckRank)(void) = NULL;
3535
static void (*MXUserMxLockLister)(void) = NULL;

0 commit comments

Comments
 (0)