pidref: make pidref_verify() parameter const

This commit is contained in:
Lennart Poettering
2023-10-18 10:32:03 +02:00
parent 820fe745c7
commit bd389293f0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ int pidref_sigqueue(PidRef *pidref, int sig, int value) {
return -ESRCH;
}
int pidref_verify(PidRef *pidref) {
int pidref_verify(const PidRef *pidref) {
int r;
/* This is a helper that is supposed to be called after reading information from procfs via a