From: Antonio Quartulli <[email protected]>

This function is used only in multi.c and can therefore be
declared as static.

Change-Id: Id999691f74d291f4b902b8ca224a12d9bc7e6046
Signed-off-by: Antonio Quartulli <[email protected]>
Acked-by: Razvan Cojocaru <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1951
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1951
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Razvan Cojocaru <[email protected]>

        
diff --git a/src/openvpn/multi.c b/src/openvpn/multi.c
index 3e72b92..c1ceb34 100644
--- a/src/openvpn/multi.c
+++ b/src/openvpn/multi.c
@@ -2833,7 +2833,7 @@
  * Add a mbuf buffer to a particular
  * instance.
  */
-void
+static void
 multi_add_mbuf(struct multi_context *m, struct multi_instance *mi, struct 
mbuf_buffer *mb)
 {
     if (multi_output_queue_ready(m, mi))
diff --git a/src/openvpn/multi.h b/src/openvpn/multi.h
index 6cb86c7..ac6cb78f 100644
--- a/src/openvpn/multi.h
+++ b/src/openvpn/multi.h
@@ -354,8 +354,6 @@
 
 struct multi_instance *multi_get_queue(struct mbuf_set *ms);
 
-void multi_add_mbuf(struct multi_context *m, struct multi_instance *mi, struct 
mbuf_buffer *mb);
-
 void multi_ifconfig_pool_persist(struct multi_context *m, bool force);
 
 bool multi_process_signal(struct multi_context *m);


_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to