[rtems-libbsd commit] Address prototype mismatch in FreeBSD code. Need to report upstream.
Joel Sherrill
joel at rtems.org
Tue Mar 27 14:10:18 UTC 2012
Module: rtems-libbsd
Branch: master
Commit: 4854583f6ee806588f407170a4268f9080a14f4a
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=4854583f6ee806588f407170a4268f9080a14f4a
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Tue Mar 27 08:53:56 2012 -0500
Address prototype mismatch in FreeBSD code. Need to report upstream.
---
freebsd/dev/e1000/if_igb.c | 5 ++---
freebsd/machine/elf.h | 1 -
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/freebsd/dev/e1000/if_igb.c b/freebsd/dev/e1000/if_igb.c
index f5a4e8b..2653ccb 100644
--- a/freebsd/dev/e1000/if_igb.c
+++ b/freebsd/dev/e1000/if_igb.c
@@ -221,17 +221,16 @@ static __inline void igb_rx_input(struct rx_ring *,
struct ifnet *, struct mbuf *, u32);
#ifdef __rtems__
-/* XXX the inconsistent prototype and body need to be reported to FreeBSD */
+/* XXX report inconsistent proto/body to FreeBSD */
static bool igb_rxeof(struct igb_queue *, int, int *);
#else
static boolean_t igb_rxeof(struct igb_queue *, int, int *);
#endif
static void igb_rx_checksum(u32, struct mbuf *, u32);
#ifdef __rtems__
-/* XXX the inconsistent prototype and body need to be reported to FreeBSD */
+/* XXX report inconsistent proto/body to FreeBSD */
static bool igb_tx_ctx_setup(struct tx_ring *, struct mbuf *);
#else
-static int igb_tx_ctx_setup(struct tx_ring *, struct mbuf *);
#endif
static boolean_t igb_tso_setup(struct tx_ring *, struct mbuf *, u32 *);
static void igb_set_promisc(struct adapter *);
diff --git a/freebsd/machine/elf.h b/freebsd/machine/elf.h
deleted file mode 100644
index 936ffd8..0000000
--- a/freebsd/machine/elf.h
+++ /dev/null
@@ -1 +0,0 @@
-/* EMPTY */
More information about the vc
mailing list