HomeFreeBSD

libc/libc/rpc: refactor some global variables

Description

libc/libc/rpc: refactor some global variables

  • Combine dg_fd_locks and dg_cv into one array.
  • Similarly for vc_fd_locks and vc_cv
  • Turn some macros into inline functions

This is a mostly cosmetic change to make refactoring these strutures in
a future commit easier.

MFC after: 2 weeks
Sponsored by: Axcient
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D42597

Details

Provenance
asomersAuthored on Nov 9 2023, 10:58 PM
Reviewer
kib
Differential Revision
D42597: libc/libc/rpc: refactor some global variables
Parents
rG6eda49b7bfd3: mlx5_core: add new files to the static files list
Branches
Unknown
Tags
Unknown