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/b5fbe0903e2f
branches:  trunk
changeset: 375261:b5fbe0903e2f
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 b7e11bc8917a -r b5fbe0903e2f 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