HomeClusterLabs Projects
Diffusion Booth 5f62bdf86a67

Refactor: get rid of pcmk_handler as a global variable
5f62bdf86a67Unpublished

Unpublished Commit · Learn More

  • Repository Importing: This repository is still importing.
  • Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: get rid of pcmk_handler as a global variable

It is still more covenient to split definition and actual use across two
files (pacemaker.c and main.c, respectively), so we at least make the
semi-hidden nature (no presence in any of the actual header files)
apparent with the double-underscore after initial namespace prefix
convenience.

Also fix a latent "no extern storage class specifier specified" in case
of compiling with -fno-common/default since GCC 10 (for missing "extern"
qualifier).

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Feb 4 2020, 10:43 AM
Parents
rBdb08fc57e372: Refactor: get rid of booth_transport as a global var&finish booth_config
Branches
Unknown
Tags
Unknown

Event Timeline