Index: /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp.c
===================================================================
--- /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp.c	(revision 58580)
+++ /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp.c	(revision 58581)
@@ -532,5 +532,5 @@
  * Default accept callback if no accept callback is specified by the user.
  */
-static err_t
+err_t
 tcp_accept_null(void *arg, struct tcp_pcb *pcb, err_t err)
 {
Index: /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp_in.c
===================================================================
--- /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp_in.c	(revision 58580)
+++ /trunk/src/VBox/Devices/Network/lwip-new/src/core/tcp_in.c	(revision 58581)
@@ -64,7 +64,5 @@
 
 #if LWIP_CONNECTION_PROXY
-static err_t tcp_proxy_accept_null(void *arg, struct tcp_pcb *pcb, err_t err);
-
-tcp_accept_fn tcp_proxy_accept_callback = tcp_proxy_accept_null;
+tcp_accept_fn tcp_proxy_accept_callback = tcp_accept_null;
 #endif
 
@@ -615,22 +613,4 @@
 
 #if LWIP_CONNECTION_PROXY
-/**
- * XXX: This is a copy-pasted tcp_accept_null(), a static function
- * from tcp.c.  For normal listening PCB tcp_pcb::accept is set to
- * that function when PCB is created in tcp_listen_with_backlog().  I
- * don't want to shuffle code around or mess with visibility for now,
- * so just provide a copy here.
- */
-static err_t
-tcp_proxy_accept_null(void *arg, struct tcp_pcb *pcb, err_t err)
-{
-  LWIP_UNUSED_ARG(arg);
-  LWIP_UNUSED_ARG(err);
-
-  tcp_abort(pcb);
-  return ERR_ABRT;
-}
-
-
 /**
  * We run proxied packets through tcp_input() since it mostly does
Index: /trunk/src/VBox/Devices/Network/lwip-new/src/include/lwip/tcp_impl.h
===================================================================
--- /trunk/src/VBox/Devices/Network/lwip-new/src/include/lwip/tcp_impl.h	(revision 58580)
+++ /trunk/src/VBox/Devices/Network/lwip-new/src/include/lwip/tcp_impl.h	(revision 58581)
@@ -485,4 +485,5 @@
 
 #if LWIP_CALLBACK_API
+err_t tcp_accept_null(void *arg, struct tcp_pcb *pcb, err_t err);
 err_t tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err);
 #endif /* LWIP_CALLBACK_API */
