Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 17:27:06 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257220 - head/sys/net
Message-ID:  <201310271727.r9RHR6Zw058301@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310271727.r9RHR6Zw058301>