mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:24:58 +02:00
ClangTidy: make pid pointer const
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user