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 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 Fri, Nov 15, 12:49 PM
Parents
rP32fca61e76b3: Merge pull request #3731 from clumens/glib-timer
Branches
Unknown
Tags
Unknown

Event Timeline