[PATCH] net/ieee80211/: make two functions static
authorAdrian Bunk <bunk@stusta.de>
Fri, 6 May 2005 21:32:39 +0000 (23:32 +0200)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 28 May 2005 02:26:43 +0000 (22:26 -0400)
This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/ieee80211/ieee80211_crypt_ccmp.c
net/ieee80211/ieee80211_tx.c

index f5f412ae7f28dbeacdd6aea66802026b7ac9a1f9..11d15573b26ae060b127a91321efc0527a055946 100644 (file)
@@ -59,8 +59,8 @@ struct ieee80211_ccmp_data {
        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;
 
index 308fcd9ab1e3f21b988609a01bc813eb0d939760..a3054c5c0c050058f1b306da7fca976794a0c01d 100644 (file)
@@ -212,8 +212,8 @@ void ieee80211_txb_free(struct ieee80211_txb *txb) {
        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;