diff options
author | Kevin Greenan <kmgreen2@gmail.com> | 2014-04-08 15:57:55 -0700 |
---|---|---|
committer | Kevin Greenan <kmgreen2@gmail.com> | 2014-04-08 15:57:55 -0700 |
commit | 9e6b3483a36a79d177a2e45d5775f5555827761b (patch) | |
tree | 00df13beab5297886d7252ab58d631e1c7e0d766 | |
parent | 80fc5d1d95f06ea4732717b06b42177099cc93c9 (diff) | |
parent | 5c9577172c9ba29890c821692dd4a9f9790b20d8 (diff) | |
download | jerasure-9e6b3483a36a79d177a2e45d5775f5555827761b.tar.gz |
Merged in dachary/jerasure/wip-init (pull request #17)
make galois_init_default_field(int w) extern
-rw-r--r-- | include/galois.h | 1 | ||||
-rw-r--r-- | src/galois.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/galois.h b/include/galois.h index 4a2715e..9d815ab 100644 --- a/include/galois.h +++ b/include/galois.h @@ -46,6 +46,7 @@ extern "C" { #endif +extern void galois_init_default_field(int w); extern void galois_change_technique(gf_t *gf, int w); extern int galois_single_multiply(int a, int b, int w); diff --git a/src/galois.c b/src/galois.c index 398a649..5d4282e 100644 --- a/src/galois.c +++ b/src/galois.c @@ -168,7 +168,7 @@ gf_t* galois_init_composite_field(int w, return gfp; } -static void galois_init_default_field(int w) +void galois_init_default_field(int w) { if (w <= 0 || w > 32) { fprintf(stderr, "ERROR -- cannot init default Galois field for w=%d\n", w); |