From f4963a52e96230374826137cce44813c94853e6f Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Mon, 16 Dec 2013 23:55:12 +0100 Subject: device: qualify pointers whose dereferenced values are constant with const --- device/chario.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'device/chario.c') diff --git a/device/chario.c b/device/chario.c index 91bd8e8..0d9f803 100644 --- a/device/chario.c +++ b/device/chario.c @@ -526,9 +526,9 @@ void ttyclose( */ boolean_t tty_queue_clean( - queue_t q, - ipc_port_t port, - boolean_t (*routine)(io_req_t) ) + queue_t q, + const ipc_port_t port, + boolean_t (*routine)(io_req_t) ) { io_req_t ior; @@ -552,8 +552,8 @@ tty_queue_clean( */ boolean_t tty_portdeath( - struct tty * tp, - ipc_port_t port) + struct tty * tp, + const ipc_port_t port) { spl_t spl = spltty(); boolean_t result; -- cgit v1.2.3