ClangTidy: make pid pointer const

This commit is contained in:
Marius Messerschmidt
2023-11-17 22:49:28 +01:00
parent b0d3e7ef9e
commit 975081aa27
+1 -1
View File
@@ -13,7 +13,7 @@
enum { FF_PIPE_BUFSIZ = 4096 };
static inline void waitpid_wrapper(pid_t* pid)
static inline void waitpid_wrapper(const pid_t* pid)
{
// remove zombie processes
if (*pid > 0)