summaryrefslogtreecommitdiffhomepage
path: root/include/stc/clist.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-07 10:59:32 +0100
committerTyge Løvset <[email protected]>2023-02-07 11:18:55 +0100
commit3cb564e7274b7749531742fa7c50fd928fdbe2d9 (patch)
tree926cabc1ecd1f95bbb4e4048dd91d91a19f1cee7 /include/stc/clist.h
parent1c81deecc673a6619ccc25c5c763e979b0a54a1a (diff)
downloadSTC-modified-3cb564e7274b7749531742fa7c50fd928fdbe2d9.tar.gz
STC-modified-3cb564e7274b7749531742fa7c50fd928fdbe2d9.zip
removed c_ALLOC_N()
Diffstat (limited to 'include/stc/clist.h')
-rw-r--r--include/stc/clist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/clist.h b/include/stc/clist.h
index cd6ec61e..81443b59 100644
--- a/include/stc/clist.h
+++ b/include/stc/clist.h
@@ -70,7 +70,7 @@ _c_clist_types(clist_VOID, int);
_c_clist_complete_types(clist_VOID, dummy);
#define _c_clist_insert_entry_after(ref, val) \
- _cx_node *entry = c_ALLOC(_cx_node); entry->value = val; \
+ _cx_node *entry = (_cx_node *)c_malloc(c_sizeof *entry); entry->value = val; \
_c_clist_insert_node_after(ref, entry)
#define _c_clist_insert_node_after(ref, entry) \