summaryrefslogtreecommitdiffstats
path: root/sys/dev/sk/if_skreg.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
committerjake <jake@FreeBSD.org>2000-05-23 20:41:01 +0000
commitd93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch)
treea4f130be4544ce7cfe4afa8c93f996b871433cb8 /sys/dev/sk/if_skreg.h
parente814d2a0db522b0f163eef55a56d05aa226951f3 (diff)
downloadFreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip
FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
Diffstat (limited to 'sys/dev/sk/if_skreg.h')
-rw-r--r--sys/dev/sk/if_skreg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sk/if_skreg.h b/sys/dev/sk/if_skreg.h
index af17c1c..2a5afc0 100644
--- a/sys/dev/sk/if_skreg.h
+++ b/sys/dev/sk/if_skreg.h
@@ -1129,7 +1129,7 @@ struct sk_jslot {
struct sk_jpool_entry {
int slot;
- SLIST_ENTRY(sk_jpool_entry) jpool_entries;
+ SLIST_ENTRY(struct sk_jpool_entry) jpool_entries;
};
struct sk_chain {
@@ -1209,8 +1209,8 @@ struct sk_if_softc {
struct sk_softc *sk_softc; /* parent controller */
int sk_tx_bmu; /* TX BMU register */
int sk_if_flags;
- SLIST_HEAD(__sk_jfreehead, sk_jpool_entry) sk_jfree_listhead;
- SLIST_HEAD(__sk_jinusehead, sk_jpool_entry) sk_jinuse_listhead;
+ SLIST_HEAD(__sk_jfreehead, struct sk_jpool_entry) sk_jfree_listhead;
+ SLIST_HEAD(__sk_jinusehead, struct sk_jpool_entry) sk_jinuse_listhead;
};
#define SK_MAXUNIT 256
OpenPOWER on IntegriCloud