aboutsummaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-02-14 13:11:47 +0000
committerOmar Polo <op@omarpolo.com>2021-02-23 13:43:14 +0100
commit6b191ed52a6f3e10816f50d23ec3e52a7d8f2837 (patch)
tree0ace81a15340c43df48fa0310aa691d4b4b3fe3c /log.c
parentd278a0c3c50146c703b675ca4dac1d58ef286585 (diff)
tests and compat for imsg
Diffstat (limited to 'log.c')
-rw-r--r--log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/log.c b/log.c
index 6ae603b..8a54f44 100644
--- a/log.c
+++ b/log.c
@@ -29,9 +29,9 @@
#include <string.h>
#include <syslog.h>
-struct imsgbuf parent_ibuf, child_ibuf;
-struct event sigusr2, inlog;
-int logfd;
+static struct imsgbuf parent_ibuf, child_ibuf;
+static struct event inlog;
+static int logfd;
static void handle_log(int, short, void*);
static int logger_main(int, struct imsgbuf*);