Skip to content

Commit 73023cb

Browse files
author
Mikhail Kulko
committed
also fix me not using extern to define debug_output
Signed-off-by: Mikhail Kulko <mkulko@mkulko.me>
1 parent 515c3f0 commit 73023cb

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

utils.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#define security_check_context(x) security_check_context ((security_context_t) x)
3333
#endif
3434

35+
bool debug_output = FALSE;
36+
3537
__attribute__((format(printf, 1, 0))) static void
3638
warnv (const char *format, va_list args)
3739
{

utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ typedef int bool;
5252
#define PR_SET_CHILD_SUBREAPER 36
5353
#endif
5454

55-
bool debug_output = FALSE;
55+
extern bool debug_output;
5656

5757
void warn (const char *format,
5858
...) __attribute__((format (printf, 1, 2)));

0 commit comments

Comments
 (0)