From bed578b4d65809027b9c146457259f9b7c685f16 Mon Sep 17 00:00:00 2001 From: Ziye Yang Date: Fri, 1 Feb 2019 17:14:08 +0800 Subject: [PATCH] crc: Make crc32_table_iscsi_base static Reason: Ceph directly copied some code from isal, which will have conflict on the condition that SPDK applications use isal-lib(configured with '--with-isal') and also use Ceph (configured with --with-rbd) Change-Id: I9f58412a68af76f8e29219a9c72cd44b9183033d Signed-off-by: Jesse Hui Signed-off-by: Ziye Yang --- crc/crc_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crc/crc_base.c b/crc/crc_base.c index 60c5f44..30c7d81 100644 --- a/crc/crc_base.c +++ b/crc/crc_base.c @@ -32,7 +32,7 @@ #define MAX_ITER 8 -uint32_t crc32_table_iscsi_base[256] = { +static uint32_t crc32_table_iscsi_base[256] = { 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB, 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B,