mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-10 08:50:10 +01:00
ClangTidy: make pid pointer const
This commit is contained in:
1 parent
b0d3e7ef9e
commit
975081aa27
1 file changed
+1
-1
@@ -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