]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Include what you use in zstd_ldm_geartab 2719/head
authorDanila Kutenin <kutdanila@yandex.ru>
Tue, 29 Jun 2021 16:57:53 +0000 (17:57 +0100)
committerDanila Kutenin <kutdanila@yandex.ru>
Tue, 29 Jun 2021 16:57:53 +0000 (17:57 +0100)
lib/compress/zstd_ldm_geartab.h

index e5c24d856b0a8358a119c3715d21c2228f9d49c5..647f865be2903344265ca3f31a67ae504c986058 100644 (file)
 #ifndef ZSTD_LDM_GEARTAB_H
 #define ZSTD_LDM_GEARTAB_H
 
-static U64 ZSTD_ldm_gearTab[256] = {
+#include "../common/compiler.h" /* UNUSED_ATTR */
+#include "../common/mem.h"      /* U64 */
+
+static UNUSED_ATTR const U64 ZSTD_ldm_gearTab[256] = {
     0xf5b8f72c5f77775c, 0x84935f266b7ac412, 0xb647ada9ca730ccc,
     0xb065bb4b114fb1de, 0x34584e7e8c3a9fd0, 0x4e97e17c6ae26b05,
     0x3a03d743bc99a604, 0xcecd042422c4044f, 0x76de76c58524259e,