HomeClusterLabs Projects

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

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

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
Tasks
Restricted Maniphest Task

Commit No Longer Exists

This commit no longer exists in the repository.