make a few variables static
authorFelix Fietkau <nbd@openwrt.org>
Sat, 16 Mar 2013 14:50:59 +0000 (15:50 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 16 Mar 2013 14:50:59 +0000 (15:50 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
syslog.c

index 58911ee6e2a6a916597f4e2e2cfd7f33f847108d..416740b8fbc80d7b1c2500ee49b098d0800b540b 100644 (file)
--- 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)
 {