Skip to content

Commit

Permalink
Merged in dachary/jerasure/wip-init (pull request #17)
Browse files Browse the repository at this point in the history
make galois_init_default_field(int w) extern
  • Loading branch information
kmgreen2 committed Apr 8, 2014
2 parents 80fc5d1 + 5c95771 commit 9e6b348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/galois.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/galois.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9e6b348

Please sign in to comment.