aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/galois.c
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/galois.c')
-rw-r--r--lpg/libqr/galois.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lpg/libqr/galois.c b/lpg/libqr/galois.c
index e21ce22..f0aadfd 100644
--- a/lpg/libqr/galois.c
+++ b/lpg/libqr/galois.c
@@ -5,8 +5,7 @@
#include "galois.h"
/* Calculate the residue of a modulo m */
-unsigned long gf_residue(unsigned long a,
- unsigned long m)
+unsigned long gf_residue(unsigned long a, unsigned long m)
{
unsigned long o = 1;
int n = 1;
@@ -77,8 +76,8 @@ static unsigned int * make_generator(int k)
}
struct qr_bitstream * rs_generate_words(struct qr_bitstream * data,
- size_t data_words,
- size_t rs_words)
+ size_t data_words,
+ size_t rs_words)
{
struct qr_bitstream * ec = 0;
unsigned int * b = 0;