public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] i386/crypto/aes.c: make some code static
@ 2005-01-16  7:58 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-16  7:58 UTC (permalink / raw)
  To: adam, clemens, jmorris; +Cc: linux-kernel

The patch below makes some needlessly global code static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.11-rc1-mm1-full/arch/i386/crypto/aes.c.old	2005-01-16 04:21:08.000000000 +0100
+++ linux-2.6.11-rc1-mm1-full/arch/i386/crypto/aes.c	2005-01-16 04:22:06.000000000 +0100
@@ -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];


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [2.6 patch] i386/crypto/aes.c: make some code static
@ 2005-02-06 18:44 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-06 18:44 UTC (permalink / raw)
  To: Andrew Morton; +Cc: adam, clemens, jmorris, linux-kernel

This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 16 Jan 2005

--- linux-2.6.11-rc1-mm1-full/arch/i386/crypto/aes.c.old	2005-01-16 04:21:08.000000000 +0100
+++ linux-2.6.11-rc1-mm1-full/arch/i386/crypto/aes.c	2005-01-16 04:22:06.000000000 +0100
@@ -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];


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-06 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16  7:58 [2.6 patch] i386/crypto/aes.c: make some code static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-02-06 18:44 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox