summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-02-26 18:03:34 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-02-26 18:03:34 -0800
commit5cd97baf39a37df327b31d06562c0e9dfa42a66f (patch)
treeba16f493e8021e41cb48ccfecb812bdc99490bab /struct.c
parent82fc20ad86dddcc486202d3aecdfcd8e80cba152 (diff)
downloadtxr-5cd97baf39a37df327b31d06562c0e9dfa42a66f.tar.gz
txr-5cd97baf39a37df327b31d06562c0e9dfa42a66f.tar.bz2
txr-5cd97baf39a37df327b31d06562c0e9dfa42a66f.zip
Require semicolon after static_{forward,def} macros.
* lib.h (static_forward, static_def): At least the C version of these now require a trailing semicolon. * struct.c (struct_type_ops): Add required semicolon after static_def. * syslog.c (syslog_strm_ops): Add required semicolon after static_forward and after static_def.
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.c b/struct.c
index 8c97484c..6178340b 100644
--- a/struct.c
+++ b/struct.c
@@ -1633,7 +1633,7 @@ val static_slot_type_reg(val slot, val strct)
static_def(struct cobj_ops struct_type_ops =
cobj_ops_init(eq, struct_type_print, struct_type_destroy,
- struct_type_mark, cobj_eq_hash_op))
+ struct_type_mark, cobj_eq_hash_op));
struct cobj_ops struct_inst_ops =
cobj_ops_init_ex(struct_inst_equal, struct_inst_print,