summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--syslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslog.c b/syslog.c
index 58911ee..416740b 100644
--- a/syslog.c
+++ b/syslog.c
@@ -46,8 +46,8 @@ static char *log_dev = LOG_DEFAULT_SOCKET;
static int log_size = LOG_DEFAULT_SIZE;
static struct log_head *log, *log_end, *oldest, *newest;
static int current_id = 0;
-regex_t pat_prio;
-regex_t pat_tstamp;
+static regex_t pat_prio;
+static regex_t pat_tstamp;
static struct log_head *log_next(struct log_head *h, int size)
{