diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-16 23:55:12 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-17 19:02:20 +0100 |
commit | f4963a52e96230374826137cce44813c94853e6f (patch) | |
tree | f2cb67804faa33f4a735b9781f5bf77a830782c4 /device/chario.c | |
parent | 68bbdd1e18a87afede6cbdffdb8c7078ed3fa835 (diff) |
device: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'device/chario.c')
-rw-r--r-- | device/chario.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |