HomeClusterLabs Projects

Refactor: libs, tools: Expect a const char instead of a char.

Description

Refactor: libs, tools: Expect a const char instead of a char.

The message functions don't modify these values anywhere so we can mark
them as const. My static analysis tools are now smart enough to
understand implicitly casting a char * to a const char * through the
function call, so we can just mark every one as const.

Details

Provenance
clumensAuthored on Apr 12 2023, 3:57 PM
Parents
rP912873937609: Refactor: libpacemaker: Expect an int instead of a uint32_t for node_id.
Branches
Unknown
Tags
Unknown