diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-09-05 19:08:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-09-05 19:08:40 -0700 |
commit | 34f33df1b1ffc6f8a84bd9721a7ba6d1960359b8 (patch) | |
tree | 3a8d0bd08660c63ebea88830c2d7e2e7628c3360 /syslog.c | |
parent | 488b8a69c1f26eba0e7f90c933b755379dfb0911 (diff) | |
download | txr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |