From d03924ca609becf6959022fdbbad7420edeb26c1 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Mon, 4 Nov 2013 23:30:47 +0100 Subject: [PATCH] galois.c: fix compiler warning galois_create_split_w8_tables() takes no parameter, remove '8' passed to the function in one case. osd/ErasureCodePluginJerasure/galois.c: In function 'galois_w32_region_multiply': osd/ErasureCodePluginJerasure/galois.c:696:5: warning: call to function 'galois_create_split_w8_tables' without a real prototype [-Wunprototyped-calls] In file included from osd/ErasureCodePluginJerasure/galois.c:53:0: osd/ErasureCodePluginJerasure/galois.h:71:12: note: 'galois_create_split_w8_tables' was declared here Signed-off-by: Danny Al-Gaaf --- src/osd/ErasureCodePluginJerasure/galois.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/ErasureCodePluginJerasure/galois.c b/src/osd/ErasureCodePluginJerasure/galois.c index be8be59affa0c..0de6fbd334cfe 100755 --- a/src/osd/ErasureCodePluginJerasure/galois.c +++ b/src/osd/ErasureCodePluginJerasure/galois.c @@ -693,7 +693,7 @@ void galois_w32_region_multiply(char *region, /* Region to multiply */ nbytes /= sizeof(int); if (galois_split_w8[0]== NULL) { - if (galois_create_split_w8_tables(8) < 0) { + if (galois_create_split_w8_tables() < 0) { fprintf(stderr, "galois_32_region_multiply -- couldn't make split multiplication tables\n"); exit(1); } -- 2.39.5