summaryrefslogtreecommitdiffhomepage
path: root/examples/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stack.c')
-rw-r--r--examples/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stack.c b/examples/stack.c
index 0815b580..83c8cc08 100644
--- a/examples/stack.c
+++ b/examples/stack.c
@@ -11,7 +11,7 @@ using_cstack(c, cvec_c);
int main() {
cstack_i stack = cstack_i_init();
cstack_c chars = cstack_c_init();
- c_defer (cstack_i_del(&stack), cstack_c_del(&chars))
+ c_fordefer ((cstack_i_del(&stack), cstack_c_del(&chars)))
{
c_forrange (i, int, 101)
cstack_i_push(&stack, i*i);