Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/net80211 Need a forward declaration of struct sbuf...



details:   https://anonhg.NetBSD.org/src-all/rev/f8546fb5ebc7
branches:  trunk
changeset: 377117:f8546fb5ebc7
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Mon Aug 15 17:42:49 2022 +0200

description:
Need a forward declaration of struct sbuf to make this header idempotent

diffstat:

 sys/net80211/ieee80211_ratectl.h |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r ece575d54650 -r f8546fb5ebc7 sys/net80211/ieee80211_ratectl.h
--- a/sys/net80211/ieee80211_ratectl.h  Mon Aug 15 17:40:40 2022 +0200
+++ b/sys/net80211/ieee80211_ratectl.h  Mon Aug 15 17:42:49 2022 +0200
@@ -82,6 +82,7 @@ struct ieee80211_ratectl_tx_stats {
        int             nretries;       /* number of retries */
 };
 
+struct sbuf;
 struct ieee80211_ratectl {
        const char *ir_name;
        int     (*ir_attach)(const struct ieee80211vap *);



Home | Main Index | Thread Index | Old Index