summaryrefslogtreecommitdiff
path: root/ecp/test
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2023-08-02 09:36:16 +0200
committerUros Majstorovic <majstor@majstor.org>2023-08-02 09:36:16 +0200
commitbf0ead55678a7c5ed3e11a1b500bb83e7facf722 (patch)
tree527a710ca472b65d59e00b591ba517eabfad048c /ecp/test
parentb57e45a19ba49efa1cb754c1e5258588405b7a30 (diff)
implemented ROS recommendations
Diffstat (limited to 'ecp/test')
-rw-r--r--ecp/test/init.c2
-rw-r--r--ecp/test/init_vconn.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ecp/test/init.c b/ecp/test/init.c
index 161742b..b0d91d1 100644
--- a/ecp/test/init.c
+++ b/ecp/test/init.c
@@ -22,6 +22,6 @@ static void conn_free(ECPConnection *conn) {
int ecp_init(ECPContext *ctx) {
int rv;
- rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free);
+ rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free, NULL);
return rv;
}
diff --git a/ecp/test/init_vconn.c b/ecp/test/init_vconn.c
index b690bec..149b57a 100644
--- a/ecp/test/init_vconn.c
+++ b/ecp/test/init_vconn.c
@@ -47,7 +47,7 @@ static void conn_free(ECPConnection *conn) {
int ecp_init(ECPContext *ctx, ECPConnHandler *vconn_handler, ECPConnHandler *vlink_handler) {
int rv;
- rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free);
+ rv = ecp_ctx_init(ctx, handle_err, conn_new, conn_free, NULL);
if (rv) return rv;
rv = ecp_vconn_handler_init(ctx, vconn_handler);