ClangTidy: make pid pointer const

This commit is contained in:
Marius Messerschmidt committed 2023-11-18 12:31:57 +01:00
1 parent b0d3e7ef9e
commit 975081aa27
1 file changed
+1 -1
+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)