HomeClusterLabs Projects

Refactor: libcrmcommon: Guard function bodies in procfs.c.

Description

Refactor: libcrmcommon: Guard function bodies in procfs.c.

If we don't have HAVE_LINUX_PROCFS, skip compiling the function bodies.
We should instead return some lame default. Additionally, we can skip
compiling pcmk__procfs_process_info entirely since it's an internal
function only called by other functions inside that guard.

Ref T385

Details

Provenance
clumensAuthored on Nov 15 2024, 12:49 PM
Parents
rP32fca61e76b3: Merge pull request #3731 from clumens/glib-timer
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task