From: (GalaxyMaster) Date: Wed, 27 Oct 2021 09:14:42 +0000 (+1100) Subject: Fixes the linking issues when libsubid is static and linked to X-Git-Tag: 4.10~26^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F430%2Fhead;p=thirdparty%2Fshadow.git Fixes the linking issues when libsubid is static and linked to binaries that also define the Prog and shadow_logfd variables. --- diff --git a/libsubid/api.c b/libsubid/api.c index a7b904d06..a51b4e015 100644 --- a/libsubid/api.c +++ b/libsubid/api.c @@ -39,8 +39,8 @@ #include "idmapping.h" #include "subid.h" -const char *Prog = "(libsubid)"; -FILE *shadow_logfd; +static const char *Prog = "(libsubid)"; +static FILE *shadow_logfd; bool libsubid_init(const char *progname, FILE * logfd) {