src/properties.c

changeset 985
68754c7de906
parent 972
a9a1d07a6840
--- a/src/properties.c	Thu Nov 07 20:22:56 2024 +0100
+++ b/src/properties.c	Thu Nov 07 22:46:58 2024 +0100
@@ -284,7 +284,7 @@
 }
 
 static int cx_properties_sink_map(
-        __attribute__((__unused__)) CxProperties *prop,
+        cx_attr_unused CxProperties *prop,
         CxPropertiesSink *sink,
         cxstring key,
         cxstring value
@@ -322,7 +322,7 @@
 }
 
 static int cx_properties_read_file(
-        __attribute__((__unused__)) CxProperties *prop,
+        cx_attr_unused CxProperties *prop,
         CxPropertiesSource *src,
         cxstring *target
 ) {
@@ -332,7 +332,7 @@
 }
 
 static int cx_properties_read_init_file(
-        __attribute__((__unused__)) CxProperties *prop,
+        cx_attr_unused CxProperties *prop,
         CxPropertiesSource *src
 ) {
     src->data_ptr = malloc(src->data_size);
@@ -341,7 +341,7 @@
 }
 
 static void cx_properties_read_clean_file(
-        __attribute__((__unused__)) CxProperties *prop,
+        cx_attr_unused CxProperties *prop,
         CxPropertiesSource *src
 ) {
     free(src->data_ptr);

mercurial