From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 34A0C10EABC for ; Fri, 13 Jan 2023 19:26:05 +0000 (UTC) From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= To: igt-dev@lists.freedesktop.org Date: Fri, 13 Jan 2023 20:25:52 +0100 Message-Id: <20230113192553.89460-2-zbigniew.kempczynski@intel.com> In-Reply-To: <20230113192553.89460-1-zbigniew.kempczynski@intel.com> References: <20230113192553.89460-1-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 1/2] lib/igt_crc: Remove crc32 table from common section List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Petri Latvala Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: I've incidentally put crc32 table definition to the header file instead of exporting it via extern keyword. Remove this symbol from common section to be C89 conformant. Signed-off-by: Zbigniew KempczyƄski Cc: Petri Latvala Cc: Kamil Konieczny --- lib/igt_crc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/igt_crc.h b/lib/igt_crc.h index 5c0b934ea5..bd36cb61d1 100644 --- a/lib/igt_crc.h +++ b/lib/igt_crc.h @@ -24,7 +24,7 @@ * All crc tables are globals to allow direct in-code use. */ -const uint32_t igt_crc32_tab[256]; +extern const uint32_t igt_crc32_tab[256]; uint32_t igt_cpu_crc32(const void *buf, size_t size); -- 2.34.1