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 2021-06-01 10:12:46 -05:00 committed by GitHub
commit bd920ab36a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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)
{ {

View File

@ -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