Fixes the linking issues when libsubid is static and linked to

binaries that also define the Prog and shadow_logfd variables.
This commit is contained in:
(GalaxyMaster) 2021-10-27 20:14:42 +11:00
parent 7d02af944f
commit fc832e4648

View File

@ -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)
{