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:
parent
7d02af944f
commit
fc832e4648
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user