Module Name:    src
Committed By:   christos
Date:           Wed Oct  2 18:12:16 UTC 2024

Modified Files:
        src/external/bsd/jemalloc/include/jemalloc/internal:
            atomic_gcc_atomic.h

Log Message:
remove comments from macro parameters (breaks clang+lint)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    src/external/bsd/jemalloc/include/jemalloc/internal/atomic_gcc_atomic.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/jemalloc/include/jemalloc/internal/atomic_gcc_atomic.h
diff -u src/external/bsd/jemalloc/include/jemalloc/internal/atomic_gcc_atomic.h:1.3 src/external/bsd/jemalloc/include/jemalloc/internal/atomic_gcc_atomic.h:1.4
--- src/external/bsd/jemalloc/include/jemalloc/internal/atomic_gcc_atomic.h:1.3	Mon Sep 23 11:03:44 2024
+++ src/external/bsd/jemalloc/include/jemalloc/internal/atomic_gcc_atomic.h	Wed Oct  2 14:12:15 2024
@@ -37,7 +37,7 @@ atomic_fence(atomic_memory_order_t mo) {
 }
 
 #define JEMALLOC_GENERATE_ATOMICS(type, short_type,			\
-    /* unused */ lg_size)						\
+    lg_size)								\
 typedef struct {							\
 	type repr;							\
 } atomic_##short_type##_t;						\
@@ -88,8 +88,8 @@ atomic_compare_exchange_strong_##short_t
 
 
 #define JEMALLOC_GENERATE_INT_ATOMICS(type, short_type,			\
-    /* unused */ lg_size)						\
-JEMALLOC_GENERATE_ATOMICS(type, short_type, /* unused */ lg_size)	\
+    lg_size)								\
+JEMALLOC_GENERATE_ATOMICS(type, short_type, lg_size)			\
 									\
 ATOMIC_INLINE type							\
 atomic_fetch_add_##short_type(atomic_##short_type##_t *a, type val,	\

Reply via email to