Commit 9e6b3483a36a79d177a2e45d5775f5555827761b

Authored by KMG
2 parents 80fc5d1d 5c957717
Exists in master

Merged in dachary/jerasure/wip-init (pull request #17)

make galois_init_default_field(int w) extern
Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
include/galois.h
... ... @@ -46,6 +46,7 @@
46 46 extern "C" {
47 47 #endif
48 48  
  49 +extern void galois_init_default_field(int w);
49 50 extern void galois_change_technique(gf_t *gf, int w);
50 51  
51 52 extern int galois_single_multiply(int a, int b, int w);
... ...
src/galois.c
... ... @@ -168,7 +168,7 @@ gf_t* galois_init_composite_field(int w,
168 168 return gfp;
169 169 }
170 170  
171   -static void galois_init_default_field(int w)
  171 +void galois_init_default_field(int w)
172 172 {
173 173 if (w <= 0 || w > 32) {
174 174 fprintf(stderr, "ERROR -- cannot init default Galois field for w=%d\n", w);
... ...