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
This commit is contained in:
Shaun Ruffell
2011-01-18 20:25:35 +00:00
parent 3cee9adfbb
commit 8b68d2dd1b

View File

@@ -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) {