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:
parent
0871122443
commit
1d767fb779
@ -40,7 +40,7 @@
|
|||||||
#include "subid.h"
|
#include "subid.h"
|
||||||
|
|
||||||
const char *Prog = "(libsubid)";
|
const char *Prog = "(libsubid)";
|
||||||
extern FILE * shadow_logfd;
|
FILE *shadow_logfd;
|
||||||
|
|
||||||
bool libsubid_init(const char *progname, FILE * logfd)
|
bool libsubid_init(const char *progname, FILE * logfd)
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#ifndef SUBID_RANGE_DEFINED
|
#ifndef SUBID_RANGE_DEFINED
|
||||||
|
Loading…
Reference in New Issue
Block a user