Add SI95 transport support
[ric-plt/lib/rmr.git] / src / rmr / nng / src / rtable_nng_static.c
index 81e79ca..f5c9b7a 100644 (file)
@@ -138,8 +138,10 @@ static int uta_link2( endpoint_t* ep ) {
 /*
        This provides a protocol independent mechanism for establishing the connection to an endpoint.
        Return is true (1) if the link was opened; false on error.
+
+       For some flavours, the context is needed by this function, but not for nng.
 */
-static int rt_link2_ep( endpoint_t* ep ) {
+static int rt_link2_ep( void* vctx, endpoint_t* ep ) {
        if( ep == NULL ) {
                return FALSE;
        }