Home GnuPG
Diffusion GpgOL 7205a22c41dc

Use explicit extern declaration for opt struct

Description

Use explicit extern declaration for opt struct

* src/common_indep.c: Define opt.
* src/common_indep.h: Declare opt as extern for C, too.

This fixes a compile error with newer GCC versions where
opt would otherwise have multiple definitions in the C part.

Details

Provenance
aheineckeAuthored on Nov 11 2021, 12:32 PM
Parents
rOb400af8e4f7d: Avoid using bultin gettext function name
Branches
Unknown
Tags
Unknown