diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-03-16 15:50:59 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-03-16 15:50:59 +0100 |
commit | 5c6859ddf9f0ca57e297d2d178504c5ad1c063e7 (patch) | |
tree | 327f9b90248396a5539d214303a053740cdfd853 | |
parent | 3ddae302d0f996d14b044416722f6d42eead7db9 (diff) | |
download | unitd-5c6859ddf9f0ca57e297d2d178504c5ad1c063e7.tar unitd-5c6859ddf9f0ca57e297d2d178504c5ad1c063e7.zip |
make a few variables static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |