Skip to contentSkip to conversation

i386/crypto/aes.c: make some code static

PATCH New Adrian Bunk 1 participant 1 message Jan 16, 2005 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386/crypto/aes.c: make some code static

The patch below makes some needlessly global code static.

arch/i386/crypto/aes.c renamed from arch/i386/crypto/aes.c.old +3 -3
@@ -93,12 +93,12 @@
 
 u32 ft_tab[4][256];
 u32 fl_tab[4][256];
-u32 ls_tab[4][256];
-u32 im_tab[4][256];
+static u32 ls_tab[4][256];
+static u32 im_tab[4][256];
 u32 il_tab[4][256];
 u32 it_tab[4][256];
 
-void gen_tabs(void)
+static void gen_tabs(void)
 {
 	u32 i, w;
 	u8 pow[512], log[256];