From de57064b962e2396e81e24c85fdd6b662ebb39a5 Mon Sep 17 00:00:00 2001 From: HuaYang Huang Date: Mon, 18 May 2015 23:05:24 +0800 Subject: [PATCH] Update lua-crypt.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加 static 避免可能导致的链接冲突 --- lualib-src/lua-crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib-src/lua-crypt.c b/lualib-src/lua-crypt.c index ef02405a..0284c48b 100644 --- a/lualib-src/lua-crypt.c +++ b/lualib-src/lua-crypt.c @@ -10,7 +10,7 @@ /* the eight DES S-boxes */ -uint32_t SB1[64] = { +static uint32_t SB1[64] = { 0x01010400, 0x00000000, 0x00010000, 0x01010404, 0x01010004, 0x00010404, 0x00000004, 0x00010000, 0x00000400, 0x01010400, 0x01010404, 0x00000400,