summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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