summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-18 20:25:35 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-18 20:25:35 +0000
commit6f454a368acdbbd83f88b12862655fe5ed5d1840 (patch)
tree1f12521614ac8e44f68c4b73fde0b0cf09dd8b52 /drivers/dahdi/dahdi-base.c
parentfe55f8f96eb4f4ad00fdb887a602fe83d5976144 (diff)
dahdi: Constify the data parameter to __buf_push.
Just clarifying a parameter that is never updated. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9644 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r--drivers/dahdi/dahdi-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 4e59867..ed95510 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -1228,7 +1228,7 @@ static u_char *__buf_peek(struct confq *q)
/* Push something onto the queue, or assume what
is there is valid if data is NULL */
-static int __buf_push(struct confq *q, u_char *data)
+static int __buf_push(struct confq *q, const u_char *data)
{
int oldinbuf = q->inbuf;
if (q->inbuf < 0) {