From dd3048b2e483f66571cfa1b2ccebb2091b9ad990 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 16 Jan 2022 18:54:19 +0100 Subject: Make RPC input array parameters const This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server side") --- auth/auth.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'auth/auth.c') diff --git a/auth/auth.c b/auth/auth.c index 886a9cfb..29c9fd8d 100644 --- a/auth/auth.c +++ b/auth/auth.c @@ -115,11 +115,11 @@ S_auth_getids (struct authhandle *auth, /* Implement auth_makeauth as described in . */ kern_return_t S_auth_makeauth (struct authhandle *auth, - mach_port_t *authpts, size_t nauths, - uid_t *euids, size_t neuids, - uid_t *auids, size_t nauids, - uid_t *egids, size_t negids, - uid_t *agids, size_t nagids, + const mach_port_t *authpts, size_t nauths, + const uid_t *euids, size_t neuids, + const uid_t *auids, size_t nauids, + const uid_t *egids, size_t negids, + const uid_t *agids, size_t nagids, mach_port_t *newhandle) { struct authhandle *newauth, *auths[1 + nauths]; -- cgit v1.2.3