HomeClusterLabs Projects

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

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

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

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.