summaryrefslogtreecommitdiff
path: root/src/ll.c
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-03-28 17:23:55 -0500
committer@syxhe <https://t.me/syxhe>2025-03-28 17:23:55 -0500
commit97713275dc87ea1d0afa4fd6bc49f695ad40efc0 (patch)
tree3bd1d8c14639808a66b3a5b6e7a27f6a7261cce5 /src/ll.c
parentcfdd25cdd8efabaa43446036e0ff0c326c001f8f (diff)
Create xalloc function and wrappers, fix XALLOC_EXIT usages to comply with ISO C99
Diffstat (limited to 'src/ll.c')
-rw-r--r--src/ll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ll.c b/src/ll.c
index 1fa8773..b02c275 100644
--- a/src/ll.c
+++ b/src/ll.c
@@ -119,7 +119,7 @@ int dlinkedlist_xxxend(dlinkedlist * const ll, void *data, dll_freecb fcb, char
119 break; 119 break;
120 120
121 default: 121 default:
122 XALLOC_EXIT("<dlinkedlist_xxxend> got an invalid op token when it shouldn't be possible to recieve one"); 122 XALLOC_EXIT("<dlinkedlist_xxxend> got an invalid op token when it shouldn't be possible to recieve one", );
123 // Technically not an alloc, but also there's no reason I can't reuse a perfectly good macro 123 // Technically not an alloc, but also there's no reason I can't reuse a perfectly good macro
124 } 124 }
125 125