* [-mm patch] net/ieee80211/: make two functions static
@ 2005-05-06 21:32 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-05-06 21:32 UTC (permalink / raw)
To: jgarzik; +Cc: netdev, linux-kernel
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
net/ieee80211/ieee80211_crypt_ccmp.c | 4 ++--
net/ieee80211/ieee80211_tx.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.12-rc3-mm2-full/net/ieee80211/ieee80211_crypt_ccmp.c.old 2005-05-05 02:29:22.000000000 +0200
+++ linux-2.6.12-rc3-mm2-full/net/ieee80211/ieee80211_crypt_ccmp.c 2005-05-05 02:29:35.000000000 +0200
@@ -59,8 +59,8 @@
u8 rx_b0[AES_BLOCK_LEN], rx_b[AES_BLOCK_LEN], rx_a[AES_BLOCK_LEN];
};
-void ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm,
- const u8 pt[16], u8 ct[16])
+static void ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm,
+ const u8 pt[16], u8 ct[16])
{
struct scatterlist src, dst;
--- linux-2.6.12-rc3-mm2-full/net/ieee80211/ieee80211_tx.c.old 2005-05-05 02:29:51.000000000 +0200
+++ linux-2.6.12-rc3-mm2-full/net/ieee80211/ieee80211_tx.c 2005-05-05 02:29:59.000000000 +0200
@@ -211,8 +211,8 @@
kfree(txb);
}
-struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
- int gfp_mask)
+static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
+ int gfp_mask)
{
struct ieee80211_txb *txb;
int i;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [-mm patch] net/ieee80211/: make two functions static
@ 2005-05-30 20:56 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-05-30 20:56 UTC (permalink / raw)
To: jgarzik; +Cc: netdev, linux-kernel
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 6 May 2005
net/ieee80211/ieee80211_crypt_ccmp.c | 4 ++--
net/ieee80211/ieee80211_tx.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.12-rc3-mm2-full/net/ieee80211/ieee80211_crypt_ccmp.c.old 2005-05-05 02:29:22.000000000 +0200
+++ linux-2.6.12-rc3-mm2-full/net/ieee80211/ieee80211_crypt_ccmp.c 2005-05-05 02:29:35.000000000 +0200
@@ -59,8 +59,8 @@
u8 rx_b0[AES_BLOCK_LEN], rx_b[AES_BLOCK_LEN], rx_a[AES_BLOCK_LEN];
};
-void ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm,
- const u8 pt[16], u8 ct[16])
+static void ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm,
+ const u8 pt[16], u8 ct[16])
{
struct scatterlist src, dst;
--- linux-2.6.12-rc3-mm2-full/net/ieee80211/ieee80211_tx.c.old 2005-05-05 02:29:51.000000000 +0200
+++ linux-2.6.12-rc3-mm2-full/net/ieee80211/ieee80211_tx.c 2005-05-05 02:29:59.000000000 +0200
@@ -211,8 +211,8 @@
kfree(txb);
}
-struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
- int gfp_mask)
+static struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
+ int gfp_mask)
{
struct ieee80211_txb *txb;
int i;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-30 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-30 20:56 [-mm patch] net/ieee80211/: make two functions static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-05-06 21:32 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).