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.h | |
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.h')
-rw-r--r-- | syslog.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,5 +42,5 @@ val openlog_wrap(val ident, val optmask, val facility); val closelog_wrap(void); val setlogmask_wrap(val mask); val syslog_wrap(val prio, val fmt, val args); -val syslog_wrapv(val prio, val fmt, struct args *args); +val syslog_wrapv(val prio, val fmt, varg args); val make_syslog_stream(val prio); |