MINOR: listener: export accept_queue_process

This is only to make it resolve in "show tasks".
diff --git a/src/listener.c b/src/listener.c
index 397b3be..6714e91 100644
--- a/src/listener.c
+++ b/src/listener.c
@@ -112,8 +112,10 @@
 	return 1;
 }
 
-/* proceed with accepting new connections */
-static struct task *accept_queue_process(struct task *t, void *context, unsigned short state)
+/* proceed with accepting new connections. Don't mark it static so that it appears
+ * in task dumps.
+ */
+struct task *accept_queue_process(struct task *t, void *context, unsigned short state)
 {
 	struct accept_queue_ring *ring = context;
 	struct connection *conn;
diff --git a/src/tools.c b/src/tools.c
index f2f456f..8891d47 100644
--- a/src/tools.c
+++ b/src/tools.c
@@ -4699,6 +4699,9 @@
 		{ .func = listener_accept, .name = "listener_accept" },
 		{ .func = poller_pipe_io_handler, .name = "poller_pipe_io_handler" },
 		{ .func = mworker_accept_wrapper, .name = "mworker_accept_wrapper" },
+#ifdef USE_THREAD
+		{ .func = accept_queue_process, .name = "accept_queue_process" },
+#endif
 #ifdef USE_LUA
 		{ .func = hlua_process_task, .name = "hlua_process_task" },
 #endif