src/map.c

changeset 1675
36c0fb2b60b2
parent 1618
ef7cab6eb131
--- a/src/map.c	Sun Dec 28 15:45:39 2025 +0100
+++ b/src/map.c	Sun Dec 28 17:31:20 2025 +0100
@@ -33,24 +33,24 @@
 
 // <editor-fold desc="empty map implementation">
 
-static void cx_empty_map_noop(cx_attr_unused CxMap *map) {
+static void cx_empty_map_noop(CX_UNUSED CxMap *map) {
     // this is a noop, but MUST be implemented
 }
 
 static void *cx_empty_map_get(
-        cx_attr_unused const CxMap *map,
-        cx_attr_unused CxHashKey key
+        CX_UNUSED const CxMap *map,
+        CX_UNUSED CxHashKey key
 ) {
     return NULL;
 }
 
-static bool cx_empty_map_iter_valid(cx_attr_unused const void *iter) {
+static bool cx_empty_map_iter_valid(CX_UNUSED const void *iter) {
     return false;
 }
 
 static CxMapIterator cx_empty_map_iterator(
         const struct cx_map_s *map,
-        cx_attr_unused enum cx_map_iterator_type type
+        CX_UNUSED enum cx_map_iterator_type type
 ) {
     CxMapIterator iter = {0};
     iter.map = (CxMap*) map;

mercurial