summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-27 17:27:06 +0000
committerglebius <glebius@FreeBSD.org>2013-10-27 17:27:06 +0000
commite678c455ff4b4646839f09409ab57af31818b72a (patch)
tree6b90916510dfe7af312160b4a73d142f45c1e7bc /sys/net
parent36ce0e2c8d3dc518394f2b2de7b822673e441fb9 (diff)
downloadFreeBSD-src-e678c455ff4b4646839f09409ab57af31818b72a.zip
FreeBSD-src-e678c455ff4b4646839f09409ab57af31818b72a.tar.gz
Provide forward declaration for struct ifnet. Consumers
of this header don't need contents of struct.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_media.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index 1bb5cc7..a7a775b 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -54,6 +54,8 @@
#include <sys/queue.h>
+struct ifnet;
+
/*
* Driver callbacks for media status and change requests.
*/
OpenPOWER on IntegriCloud