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") --- console/console.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'console/console.c') diff --git a/console/console.c b/console/console.c index ab684198..ad31fba2 100644 --- a/console/console.c +++ b/console/console.c @@ -1860,22 +1860,22 @@ S_tioctl_tiocgeta (struct protid *cred, modes_t modes, ccs_t ccs, } kern_return_t -S_tioctl_tiocseta (struct protid *cred, modes_t modes, ccs_t ccs, - speeds_t speeds) +S_tioctl_tiocseta (struct protid *cred, const modes_t modes, const ccs_t ccs, + const speeds_t speeds) { return EOPNOTSUPP; } kern_return_t -S_tioctl_tiocsetaw (struct protid *cred, modes_t modes, ccs_t ccs, - speeds_t speeds) +S_tioctl_tiocsetaw (struct protid *cred, const modes_t modes, const ccs_t ccs, + const speeds_t speeds) { return EOPNOTSUPP; } kern_return_t -S_tioctl_tiocsetaf (struct protid *cred, modes_t modes, ccs_t ccs, - speeds_t speeds) +S_tioctl_tiocsetaf (struct protid *cred, const modes_t modes, const ccs_t ccs, + const speeds_t speeds) { return EOPNOTSUPP; } -- cgit v1.2.3