1.1 --- a/src/cx/utils.h Sun Nov 20 17:48:42 2022 +0100 1.2 +++ b/src/cx/utils.h Sun Nov 20 21:08:36 2022 +0100 1.3 @@ -51,9 +51,7 @@ 1.4 */ 1.5 #define cx_for_n(varname, n) for (size_t varname = 0 ; (varname) < (n) ; (varname)++) 1.6 1.7 -/* ---------------------- 1.8 - * cx_szmul() definition. 1.9 - * ---------------------- */ 1.10 +// cx_szmul() definition 1.11 1.12 #if (__GNUC__ >= 5 || defined(__clang__)) && !defined(CX_NO_SZMUL_BUILTIN) 1.13 #define CX_SZMUL_BUILTIN 1.14 @@ -72,7 +70,7 @@ 1.15 * otherwise 1.16 */ 1.17 #define cx_szmul(a, b, result) __builtin_umul_overflow(a, b, result) 1.18 -#else /* __WORDSIZE != 32 */ 1.19 +#else // __WORDSIZE != 32 1.20 /** 1.21 * Alias for \c __builtin_umull_overflow. 1.22 * 1.23 @@ -86,9 +84,9 @@ 1.24 * otherwise 1.25 */ 1.26 #define cx_szmul(a, b, result) __builtin_umull_overflow(a, b, result) 1.27 -#endif /* __WORDSIZE */ 1.28 +#endif // __WORDSIZE 1.29 1.30 -#else /* no GNUC or clang bultin */ 1.31 +#else // no GNUC or clang bultin 1.32 1.33 /** 1.34 * Performs a multiplication of size_t values and checks for overflow. 1.35 @@ -122,4 +120,4 @@ 1.36 } 1.37 #endif 1.38 1.39 -#endif /* UCX_UTILS_H */ 1.40 +#endif // UCX_UTILS_H