]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
varlink: make one more parameter const
authorLennart Poettering <lennart@poettering.net>
Mon, 11 Oct 2021 13:37:18 +0000 (15:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Oct 2021 13:37:59 +0000 (15:37 +0200)
src/shared/varlink.c

index 984dea1ff56ae151d956e28bf59adf87b6b44ce8..c34a08cf5780b257db79a18346fb11138b3cf37f 100644 (file)
@@ -2076,7 +2076,7 @@ static int validate_connection(VarlinkServer *server, const struct ucred *ucred)
         return 1;
 }
 
-static int count_connection(VarlinkServer *server, struct ucred *ucred) {
+static int count_connection(VarlinkServer *server, const struct ucred *ucred) {
         unsigned c;
         int r;