summaryrefslogtreecommitdiff
path: root/drivers
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
commit7da1c9ce94832453a5b254e3aa3b9e00996c5a8b (patch)
tree1f12521614ac8e44f68c4b73fde0b0cf09dd8b52 /drivers
parenta46261eb501e05c35e6634e1fd840c8fc9f1d9eb (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')
-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) {