summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslog.c')
-rw-r--r--syslog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/syslog.c b/syslog.c
index 0cb1d80e..248c3b5b 100644
--- a/syslog.c
+++ b/syslog.c
@@ -51,7 +51,7 @@ struct syslog_strm {
val prio_k;
-static struct strm_ops syslog_strm_ops;
+static_forward(struct strm_ops syslog_strm_ops)
void syslog_init(void)
{
@@ -212,7 +212,7 @@ static val syslog_set_prop(val stream, val ind, val prop)
return nil;
}
-static struct strm_ops syslog_strm_ops =
+static_def(struct strm_ops syslog_strm_ops =
strm_ops_init(cobj_ops_init(eq,
stream_print_op,
cobj_destroy_stub_op,
@@ -225,7 +225,7 @@ static struct strm_ops syslog_strm_ops =
0, 0, 0, 0, 0, 0, 0, 0,
syslog_get_prop,
syslog_set_prop,
- 0, 0, 0);
+ 0, 0, 0))
val make_syslog_stream(val prio)
{