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/461d708632fc
branches:  trunk
changeset: 371164:461d708632fc
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 7eb1ea981d01 -r 461d708632fc 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 @@
        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