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:
		| @@ -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) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user