summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-09-05 19:08:40 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-09-05 19:08:40 -0700
commit34f33df1b1ffc6f8a84bd9721a7ba6d1960359b8 (patch)
tree3a8d0bd08660c63ebea88830c2d7e2e7628c3360 /syslog.c
parent488b8a69c1f26eba0e7f90c933b755379dfb0911 (diff)
downloadtxr-34f33df1b1ffc6f8a84bd9721a7ba6d1960359b8.tar.gz
txr-34f33df1b1ffc6f8a84bd9721a7ba6d1960359b8.tar.bz2
txr-34f33df1b1ffc6f8a84bd9721a7ba6d1960359b8.zip
Use vargs typedef instead of struct args *.
The vargs typedef is underused. Let's use it consistently everywhere. * args.c, * args.h, * args.c, * args.h, * arith.c, * eval.c * ffi.c, * gc.c, * hash.c, * lib.c, * lib.h, * parser.c, * stream.c, * struct.c, * struct.h, * syslog.c, * syslog.h, * unwind.c, * vm.c, * vm.h: All "struct args * declarations replaced with existing "varg" typedef that comes from lib.h.
Diffstat (limited to 'syslog.c')
-rw-r--r--syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslog.c b/syslog.c
index 3fa60176..6a54adc7 100644
--- a/syslog.c
+++ b/syslog.c
@@ -111,7 +111,7 @@ val setlogmask_wrap(val mask)
return num(setlogmask(c_num(mask, self)));
}
-val syslog_wrapv(val prio, val fmt, struct args *args)
+val syslog_wrapv(val prio, val fmt, varg args)
{
val self = lit("syslog");
val text = formatv(nil, fmt, args);