From: Felix Fietkau Date: Sat, 16 Mar 2013 14:50:59 +0000 (+0100) Subject: make a few variables static X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fprocd.git;a=commitdiff_plain;h=5c6859ddf9f0ca57e297d2d178504c5ad1c063e7 make a few variables static Signed-off-by: Felix Fietkau --- 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) {