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
kgaillotCommitted on Apr 17 2023, 12:03 PM
Parents
rPd0307bcd0168: Refactor: libpacemaker: Expect an int instead of a uint32_t for node_id.
Branches
Unknown
Tags
Unknown