Author: j16sdiz
Date: 2009-04-16 01:53:33 +0000 (Thu, 16 Apr 2009)
New Revision: 26867

Modified:
   trunk/contrib/fec/src/csrc/fec.c
Log:
Mark const as const

Modified: trunk/contrib/fec/src/csrc/fec.c
===================================================================
--- trunk/contrib/fec/src/csrc/fec.c    2009-04-16 01:53:19 UTC (rev 26866)
+++ trunk/contrib/fec/src/csrc/fec.c    2009-04-16 01:53:33 UTC (rev 26867)
@@ -122,7 +122,7 @@
  * Primitive polynomials - see Lin & Costello, Appendix A,
  * and  Lee & Messerschmitt, p. 453.
  */
-static char *allPp[] = {    /* GF_BITS polynomial              */
+static const char * const allPp[] = {    /* GF_BITS    polynomial              
*/
     NULL,                  /*  0       no code                 */
     NULL,                  /*  1       no code                 */
     "111",                 /*  2       1+x+x^2                 */
@@ -255,7 +255,7 @@
 {
     int i;
     gf mask;
-    char *Pp =  allPp[GF_BITS] ;
+    const char *const Pp = allPp[GF_BITS] ;
 
     mask = 1;  /* x ** 0 = 1 */
     gf_exp[GF_BITS] = 0; /* will be updated at the end of the 1st loop */

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to