From: Johannes Berg <johannes@sipsolutions.net>
To: linux-wireless@vger.kernel.org
Cc: "John W. Linville" <linville@tuxdriver.com>
Subject: [PATCH] make ieee80211_get_hdr_info static
Date: Mon, 05 Mar 2007 17:41:58 +0100 [thread overview]
Message-ID: <1173112918.6131.95.camel@johannes.berg> (raw)
This patch makes the ieee80211_get_hdr_info function which is only used
in wpa.c static.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
net/mac80211/wpa.c | 4 ++--
net/mac80211/wpa.h | 3 ---
2 files changed, 2 insertions(+), 5 deletions(-)
--- wireless-dev.orig/net/mac80211/wpa.c 2007-03-05 17:40:22.114711876 +0100
+++ wireless-dev/net/mac80211/wpa.c 2007-03-05 17:40:37.224711876 +0100
@@ -25,8 +25,8 @@
#endif /* CONFIG_HOSTAPD_WPA_TESTING */
-int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
- u8 *qos_tid, u8 **data, size_t *data_len)
+static int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
+ u8 *qos_tid, u8 **data, size_t *data_len)
{
struct ieee80211_hdr *hdr;
size_t hdrlen;
--- wireless-dev.orig/net/mac80211/wpa.h 2007-03-05 17:40:16.354711876 +0100
+++ wireless-dev/net/mac80211/wpa.h 2007-03-05 17:40:19.394711876 +0100
@@ -28,7 +28,4 @@ ieee80211_tx_h_ccmp_encrypt(struct ieee8
ieee80211_txrx_result
ieee80211_rx_h_ccmp_decrypt(struct ieee80211_txrx_data *rx);
-int ieee80211_get_hdr_info(const struct sk_buff *skb, u8 **sa, u8 **da,
- u8 *qos_tid, u8 **data, size_t *data_len);
-
#endif /* WPA_H */
reply other threads:[~2007-03-06 13:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1173112918.6131.95.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox