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:
@@ -1228,7 +1228,7 @@ static u_char *__buf_peek(struct confq *q)
|
|||||||
|
|
||||||
/* Push something onto the queue, or assume what
|
/* Push something onto the queue, or assume what
|
||||||
is there is valid if data is NULL */
|
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;
|
int oldinbuf = q->inbuf;
|
||||||
if (q->inbuf < 0) {
|
if (q->inbuf < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user