projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mark a couple of functions as const.
[paraslash.git]
/
fec.c
diff --git
a/fec.c
b/fec.c
index 233a87803ebcf06fe38d172473cfa15e23b17c96..e5c2a3b83e005c8596e6bcf951702bc3cb2cf5e1 100644
(file)
--- a/
fec.c
+++ b/
fec.c
@@
-74,7
+74,7
@@
static unsigned char gf_mul_table[GF_SIZE + 1][GF_SIZE + 1];
#define gf_mul(x,y) gf_mul_table[x][y]
/* Compute x % GF_SIZE without a slow divide. */
-static inline unsigned char modnn(int x)
+
__a_const
static inline unsigned char modnn(int x)
{
while (x >= GF_SIZE) {
x -= GF_SIZE;