projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fad449
)
remove an unused function
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Mar 2013 01:35:47 +0000
(
02:35
+0100)
committer
Felix 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
patch
|
blob
|
history
syslog.h
patch
|
blob
|
history
diff --git
a/syslog.c
b/syslog.c
index 733bef6a95ea5be0290a1d42ed1a3b524976a80b..58911ee6e2a6a916597f4e2e2cfd7f33f847108d 100644
(file)
--- 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 5e7ab43c69a34e48138a3f796bac0c1e493bd2f2..1918028f7f114ef393cc154476cbdc2d28ba22b4 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);
-int log_buffer_size(void);
void log_add(char *buf, int size, int source);
#endif