summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/multimap.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-03-27 19:57:09 +0200
committerTyge Løvset <[email protected]>2023-03-27 19:57:09 +0200
commite35036deef4fc8f17cc9221e2e666dfdb832ba78 (patch)
treeb41e45015be7454ef3f82092b558da6b365d6a57 /misc/examples/multimap.c
parentede39bc98a758674485796174ea860515ec281e6 (diff)
downloadSTC-modified-e35036deef4fc8f17cc9221e2e666dfdb832ba78.tar.gz
STC-modified-e35036deef4fc8f17cc9221e2e666dfdb832ba78.zip
More RAII cleanup in examples. Also removed gauss1.c and new_deq.c
Diffstat (limited to 'misc/examples/multimap.c')
-rw-r--r--misc/examples/multimap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/multimap.c b/misc/examples/multimap.c
index 9c37db6c..d8981a81 100644
--- a/misc/examples/multimap.c
+++ b/misc/examples/multimap.c
@@ -71,7 +71,7 @@ int main()
csmap_OL multimap = {0};
const clist_OL empty = clist_OL_init();
- for (size_t i = 0; i < c_ARRAYLEN(ol_data); ++i)
+ for (size_t i = 0; i < c_arraylen(ol_data); ++i)
{
struct OlympicsData* d = &ol_data[i];
OlympicLoc loc = {.year = d->year,