libsubid/api.c: make shadow_logfd not extern
Closes #346 Also #include stdio.h Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
		| @@ -40,7 +40,7 @@ | ||||
| #include "subid.h" | ||||
|  | ||||
| const char *Prog = "(libsubid)"; | ||||
| extern FILE * shadow_logfd; | ||||
| FILE *shadow_logfd; | ||||
|  | ||||
| bool libsubid_init(const char *progname, FILE * logfd) | ||||
| { | ||||
|   | ||||
| @@ -1,4 +1,5 @@ | ||||
| #include <sys/types.h> | ||||
| #include <stdio.h> | ||||
| #include <stdbool.h> | ||||
|  | ||||
| #ifndef SUBID_RANGE_DEFINED | ||||
|   | ||||
		Reference in New Issue
	
	Block a user