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. --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser.c') diff --git a/parser.c b/parser.c index 30c63f03..53b05aa2 100644 --- a/parser.c +++ b/parser.c @@ -1323,7 +1323,7 @@ static val get_home_path(void) return getenv_wrap(lit("HOME")); } -static val repl_warning(val out_stream, val exc, struct args *rest) +static val repl_warning(val out_stream, val exc, varg rest) { val args = args_get_list(rest); -- cgit v1.2.3