[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 f5f412a..11d1557 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 308fcd9..a3054c5 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;