]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Fixes the linking issues when libsubid is static and linked to 430/head
author(GalaxyMaster) <galaxy4public@users.noreply.github.com>
Wed, 27 Oct 2021 09:14:42 +0000 (20:14 +1100)
committer(GalaxyMaster) <galaxy4public@users.noreply.github.com>
Wed, 27 Oct 2021 09:14:42 +0000 (20:14 +1100)
binaries that also define the Prog and shadow_logfd variables.

libsubid/api.c

index a7b904d0617fb436576958827ca06fb8d2d1b5bc..a51b4e01571630a6eea059f68584b02ef17df11f 100644 (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)
 {