Skip to content

Commit

Permalink
libsubid/api.c: make Prog not static
Browse files Browse the repository at this point in the history
Closes #465

It'll be used by libmisc/ etc.

Signed-off-by: Serge Hallyn <[email protected]>
  • Loading branch information
hallyn committed Dec 21, 2021
1 parent b8c67c3 commit 4823f81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ autoreconf -v -f --install || exit 1

./configure \
CFLAGS="-O2 -Wall" \
--enable-man \
--disable-man \
--enable-maintainer-mode \
--enable-shared \
--without-libpam \
--with-selinux \
--without-selinux \
"$@"
4 changes: 2 additions & 2 deletions libsubid/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
#include "idmapping.h"
#include "subid.h"

static const char *Prog = "(libsubid)";
static FILE *shadow_logfd;
const char *Prog = "(libsubid)";
FILE *shadow_logfd;

bool subid_init(const char *progname, FILE * logfd)
{
Expand Down

0 comments on commit 4823f81

Please sign in to comment.