summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-16 02:35:47 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-03-16 02:35:47 +0100
commit3ddae302d0f996d14b044416722f6d42eead7db9 (patch)
tree052b01318b1c96773ebba30b2c8154f90a628a1d
parent4fad44987a3869accf103783b4b8768c282eb86a (diff)
downloadunitd-3ddae302d0f996d14b044416722f6d42eead7db9.tar
unitd-3ddae302d0f996d14b044416722f6d42eead7db9.zip
remove an unused function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--syslog.c5
-rw-r--r--syslog.h1
2 files changed, 0 insertions, 6 deletions
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