summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-09-09 22:16:51 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-09 22:16:51 +0200
commitec5f066116c82872043e456e8e01ce715ccdc4e1 (patch)
tree38e0aed20f7e6f19c4c4c9463d2b750f6fcbbe88
parent0ba288a09ab5b96f3c0e28f0a0367cc61d9019f2 (diff)
Add const qualifiers.
* device/chario.c (tty_inq_size, tty_outq_size): Qualify constants as const.
-rw-r--r--device/chario.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/chario.c b/device/chario.c
index d0e93d2..c65a421 100644
--- a/device/chario.c
+++ b/device/chario.c
@@ -89,8 +89,8 @@ struct ldisc_switch linesw[] = {
/*
* Sizes for input and output circular buffers.
*/
-int tty_inq_size = 4096; /* big nuf */
-int tty_outq_size = 2048; /* Must be bigger that tthiwat */
+const int tty_inq_size = 4096; /* big nuf */
+const int tty_outq_size = 2048; /* Must be bigger that tthiwat */
int pdma_default = 1; /* turn pseudo dma on by default */
/*