]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
galois.c: fix compiler warning 814/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 4 Nov 2013 22:30:47 +0000 (23:30 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 4 Nov 2013 22:35:09 +0000 (23:35 +0100)
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 <danny.al-gaaf@bisect.de>
src/osd/ErasureCodePluginJerasure/galois.c

index be8be59affa0cfaa04846250b1a23fb0564e1888..0de6fbd334cfe012df15ae028d2dfc6caeacde8b 100755 (executable)
@@ -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);
     }