From: Felix Fietkau Date: Sat, 16 Mar 2013 01:35:47 +0000 (+0100) Subject: remove an unused function X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ddae302d0f996d14b044416722f6d42eead7db9;p=oweals%2Fprocd.git remove an unused function Signed-off-by: Felix Fietkau --- diff --git a/syslog.c b/syslog.c index 733bef6..58911ee 100644 --- a/syslog.c +++ b/syslog.c @@ -262,11 +262,6 @@ int log_buffer_init(int size) return 0; } -int log_buffer_size(void) -{ - return log_size; -} - void log_init(void) { regcomp(&pat_prio, "^<([0-9]*)>(.*)", REG_EXTENDED); diff --git a/syslog.h b/syslog.h index 5e7ab43..1918028 100644 --- a/syslog.h +++ b/syslog.h @@ -35,7 +35,6 @@ void log_init(void); typedef void (*log_list_cb)(struct log_head *h); struct log_head* log_list(int count, struct log_head *h); int log_buffer_init(int size); -int log_buffer_size(void); void log_add(char *buf, int size, int source); #endif