remove an unused function
authorFelix Fietkau <nbd@openwrt.org>
Sat, 16 Mar 2013 01:35:47 +0000 (02:35 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 16 Mar 2013 01:35:47 +0000 (02:35 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
syslog.c
syslog.h

index 733bef6..58911ee 100644 (file)
--- a/syslog.c
+++ b/syslog.c
@@ -262,11 +262,6 @@ int log_buffer_init(int size)
        return 0;
 }
 
        return 0;
 }
 
-int log_buffer_size(void)
-{
-       return log_size;
-}
-
 void log_init(void)
 {
        regcomp(&pat_prio, "^<([0-9]*)>(.*)", REG_EXTENDED);
 void log_init(void)
 {
        regcomp(&pat_prio, "^<([0-9]*)>(.*)", REG_EXTENDED);
index 5e7ab43..1918028 100644 (file)
--- 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);
 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
 void log_add(char *buf, int size, int source);
 
 #endif