MINOR: peers: export process_peer_sync() to improve traces
This one will probably pop up from time to time in "show profiling",
better have it resolve.
diff --git a/src/peers.c b/src/peers.c
index f4553bc..a4854f4 100644
--- a/src/peers.c
+++ b/src/peers.c
@@ -2867,9 +2867,10 @@
/*
* Task processing function to manage re-connect, peer session
- * tasks wakeup on local update and heartbeat.
+ * tasks wakeup on local update and heartbeat. Let's keep it exported so that it
+ * resolves in stack traces and "show tasks".
*/
-static struct task *process_peer_sync(struct task * task, void *context, unsigned short state)
+struct task *process_peer_sync(struct task * task, void *context, unsigned short state)
{
struct peers *peers = context;
struct peer *ps;