svn commit: r257220 - head/sys/net
Gleb Smirnoff
glebius at FreeBSD.org
Sun Oct 27 17:27:07 UTC 2013
Author: glebius
Date: Sun Oct 27 17:27:06 2013
New Revision: 257220
URL: http://svnweb.freebsd.org/changeset/base/257220
Log:
Provide forward declaration for struct ifnet. Consumers
of this header don't need contents of struct.
Modified:
head/sys/net/if_media.h
Modified: head/sys/net/if_media.h
==============================================================================
--- head/sys/net/if_media.h Sun Oct 27 17:14:33 2013 (r257219)
+++ head/sys/net/if_media.h Sun Oct 27 17:27:06 2013 (r257220)
@@ -54,6 +54,8 @@
#include <sys/queue.h>
+struct ifnet;
+
/*
* Driver callbacks for media status and change requests.
*/
More information about the svn-src-all
mailing list