[svn-commits] sruffell: linux/trunk r9644 - /linux/trunk/drivers/dahdi/dahdi-base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 18 14:25:39 CST 2011


Author: sruffell
Date: Tue Jan 18 14:25:35 2011
New Revision: 9644

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9644
Log:
dahdi: Constify the data parameter to __buf_push.

Just clarifying a parameter that is never updated.

Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Modified:
    linux/trunk/drivers/dahdi/dahdi-base.c

Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=9644&r1=9643&r2=9644
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Tue Jan 18 14:25:35 2011
@@ -1228,7 +1228,7 @@
 
 /* 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) {




More information about the svn-commits mailing list