HomeClusterLabs Projects

Refactor: crmd,libcrmcommon,tools: rename "infinity" constants

Description

Refactor: crmd,libcrmcommon,tools: rename "infinity" constants

INFINITY can conflict with the math.h declaration, so deprecate it in favor of
the new name CRM_SCORE_INFINITY.

For consistency, also prefix string constants with CRM_, and get rid of the
unnecessary node_score_infinity global.

Details

Provenance
kgaillotAuthored on Feb 20 2018, 5:25 PM
Parents
rP32c75b7becfd: Refactor: libcrmcommon: remove dead code
Branches
Unknown
Tags
Unknown

Event Timeline