From 8b68d2dd1bcb2c402d01ec28e47dfd55d02e1a4a Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 18 Jan 2011 20:25:35 +0000 Subject: [PATCH] dahdi: Constify the data parameter to __buf_push. Just clarifying a parameter that is never updated. Signed-off-by: Shaun Ruffell git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9644 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/dahdi-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {