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") --- term/term.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'term/term.h') diff --git a/term/term.h b/term/term.h index c6763d06..162ed49d 100644 --- a/term/term.h +++ b/term/term.h @@ -384,7 +384,7 @@ extern dev_t rdev; /* kludge--these are pty versions of trivfs_S_io_* functions called by the real functions in users.c to do work for ptys. */ -error_t pty_io_write (struct trivfs_protid *, char *, +error_t pty_io_write (struct trivfs_protid *, const char *, mach_msg_type_number_t, mach_msg_type_number_t *); error_t pty_io_read (struct trivfs_protid *, char **, mach_msg_type_number_t *, mach_msg_type_number_t); -- cgit v1.2.3