tests/test_buffer.c

changeset 985
68754c7de906
parent 890
54565fd74e74
--- a/tests/test_buffer.c	Thu Nov 07 20:22:56 2024 +0100
+++ b/tests/test_buffer.c	Thu Nov 07 22:46:58 2024 +0100
@@ -588,7 +588,7 @@
 static size_t mock_write_limited_rate(
         const void *ptr,
         size_t size,
-        __attribute__((unused)) size_t nitems,
+        cx_attr_unused size_t nitems,
         CxBuffer *buffer
 ) {
     // simulate limited target drain capacity

mercurial