aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/common.h b/src/common.h
index 4ac8b53..0b89b8f 100644
--- a/src/common.h
+++ b/src/common.h
@@ -81,7 +81,9 @@
#define N_(s) s
-#if defined(__GNUC__)
+#if defined(__clang__)
+# pragma clang diagnostic ignored "-Wunsafe-buffer-usage" /* broken in clang 19.1.7 */
+#elif defined(__GNUC__)
# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants"
#endif
@@ -394,10 +396,10 @@ void hooks_signal_period_change(enum period prev_period, enum period period);
/**
* Create a pipe(7) where both ends have O_NONBLOCK applied
*
- * @param Output parameter for the pipe's file descriptors:
- * 0) reading file descriptor, and
- * 1) writing file descriptor.
- * @return 0 on success, -1 on failure
+ * @param pipefds Output parameter for the pipe's file descriptors:
+ * 0) reading file descriptor, and
+ * 1) writing file descriptor.
+ * @return 0 on success, -1 on failure
*/
int pipeutils_create_nonblocking(int pipefds[2]);