From 34f33df1b1ffc6f8a84bd9721a7ba6d1960359b8 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 5 Sep 2023 19:08:40 -0700 Subject: 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. --- syslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syslog.c') 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); -- cgit v1.2.3