aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/galois.c
diff options
context:
space:
mode:
authorLeo Howell <leo@lwh.jp>2009-11-14 20:31:08 +0900
committerLeo Howell <leo@lwh.jp>2009-11-14 20:38:58 +0900
commit5d91255e986b6f1fb6205cc759ff5d43ccb3c96f (patch)
tree20a826b7b950e4754c5eb52b81ec24a4f38abf5a /lpg/libqr/galois.c
parentc2e4639d2ebefbeb7f8b7e1826ae2391c6876a5a (diff)
downloadpdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.tar.gz
pdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.tar.xz
pdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.zip
Final tidy for 0.1
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;