[Bug 209920] 11.0 -r300944 buildkernel via amd64-gcc fails for: .../dev/cxgb/ulp/tom/cxgb_listen.c:926:13: error: redundant redeclaration of 'tcp_dooptions'; a different cxbge issue too

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 13 07:14:28 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209920

--- Comment #5 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Mark Millard from comment #4)

As of 11.0 -r301815 the example changes tested have not been applied and so the
status has not changed. (I can not update official FreeBSD source so someone
else would have to.)

# svnlite diff /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c
Index: /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c
===================================================================
--- /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c (revision 301815)
+++ /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c (working copy)
@@ -923,7 +923,7 @@
 }

 /* XXX */
-extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);
+//extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);

 int
 t3_syncache_respond(struct toedev *tod, void *arg, struct mbuf *m)
# svnlite diff /usr/src/sys/dev/cxgbe/tom/t4_listen.c
Index: /usr/src/sys/dev/cxgbe/tom/t4_listen.c
===================================================================
--- /usr/src/sys/dev/cxgbe/tom/t4_listen.c      (revision 301815)
+++ /usr/src/sys/dev/cxgbe/tom/t4_listen.c      (working copy)
@@ -636,7 +636,7 @@
        refcount_acquire(&synqe->refcnt);
 }

-static inline void
+static /* inline */ void
 release_synqe(struct synq_entry *synqe)
 {

@@ -666,7 +666,7 @@
 }

 /* XXX */
-extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);
+//extern void tcp_dooptions(struct tcpopt *, u_char *, int, int);

 int
 t4_syncache_respond(struct toedev *tod, void *arg, struct mbuf *m)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list