Merge pull request #348 from hallyn/2021-05-28/notextern

libsubid/api.c: make shadow_logfd not extern
This commit is contained in:
Serge Hallyn authored and GitHub committed 2021-06-01 10:12:46 -05:00
commit bd920ab36a
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -1,4 +1,5 @@
#include <sys/types.h>
#include <stdio.h>
#include <stdbool.h>
#ifndef SUBID_RANGE_DEFINED