This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via 3c47e7bfc228e56fbc79e9b304a421fa3455ef85 (commit)
from 8f9d61e8e9952dc0463cd24f6e4bbf9aea1e1d6f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3c47e7bfc228e56fbc79e9b304a421fa3455ef85
Author: Milos Nikic <[email protected]>
Date: Fri Jun 20 18:14:58 2025 +0100
lock_mon: clean lip/lis functions
The function lock_info_sort was defined as static and aliased via a macro
to lis, requiring a forward declaration to be callable from lip(). This
indirection served no functional purpose and made the code less readable and
emitting a compiler (declared 'static' but never defined) warning.
This change:
- Removes the macro aliasing lock_info_sort to lis
- Moves lock_info_sort before lip() to eliminate the need for a forward
declaration
- Updates the call in lip() to refer to lock_info_sort directly
The result is a cleaner and more straightforward structure without changing
behavior which also fixes a compiler warning.
Message-ID: <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
kern/lock_mon.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
hooks/post-receive
--
GNU Mach