summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-06-24 02:57:36 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-06-24 02:57:36 +0000
commit1de34b8fc383a8301c3d5e8ccec80b2b73d95fa1 (patch)
tree3adf5b6b3af8b59c0c660c291aa2370e3afaa57b /cpukit
parent2006-06-23 Worth Burruss <worth@motioncontrol.org> (diff)
downloadrtems-1de34b8fc383a8301c3d5e8ccec80b2b73d95fa1.tar.bz2
2006-06-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_var.h: #include <sys/queue.h>. Cosmetics from FreeBSD.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libnetworking/net/if_var.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index c9a2c8f428..afc55fafbd 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-24 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libnetworking/net/if_var.h: #include <sys/queue.h>.
+ Cosmetics from FreeBSD.
+
2006-06-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/cdefs.h: Partial update from freebsd.
diff --git a/cpukit/libnetworking/net/if_var.h b/cpukit/libnetworking/net/if_var.h
index 32aba84801..ad32cd11a6 100644
--- a/cpukit/libnetworking/net/if_var.h
+++ b/cpukit/libnetworking/net/if_var.h
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*
* From: @(#)if.h 8.1 (Berkeley) 6/10/93
- * $FreeBSD: src/sys/net/if_var.h,v 1.95 2005/04/20 09:30:54 glebius Exp $
+ * $FreeBSD: src/sys/net/if_var.h,v 1.107 2006/06/19 22:20:44 mlaier Exp $
*/
/*
@@ -77,6 +77,8 @@ struct ether_header;
struct carp_if;
#endif
+#include <sys/queue.h> /* get TAILQ macros */
+
/*
* Structure defining a queue for a network interface.
*/
@@ -133,7 +135,7 @@ struct ifnet {
struct ifqueue *if_poll_slowq; /* input queue for slow devices */
};
-typedef void if_init_f_t(void *);
+typedef void if_init_f_t(void *);
/*
* XXX These aliases are terribly dangerous because they could apply