]> git.neil.brown.name Git - history.git/commitdiff
[CRYPTO]: Make some code static in i386 crypto AES.
authorAdrian Bunk <bunk@stusta.de>
Sun, 6 Feb 2005 14:11:58 +0000 (06:11 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Sun, 6 Feb 2005 14:11:58 +0000 (06:11 -0800)
This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/i386/crypto/aes.c

index 5a34ee9e4a515b8a52446cb243e8a0b19b89e986..1019430fc1f11015128f2f22fdf44f7d24330ab3 100644 (file)
@@ -93,12 +93,12 @@ static u32 rcon_tab[RC_LENGTH];
 
 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];