diff options
Diffstat (limited to 'src/libsystemd/sd-rtnl/test-rtnl.c')
-rw-r--r-- | src/libsystemd/sd-rtnl/test-rtnl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsystemd/sd-rtnl/test-rtnl.c b/src/libsystemd/sd-rtnl/test-rtnl.c index ec6b29438c..15e42b68f7 100644 --- a/src/libsystemd/sd-rtnl/test-rtnl.c +++ b/src/libsystemd/sd-rtnl/test-rtnl.c @@ -27,7 +27,6 @@ #include "sd-rtnl.h" #include "socket-util.h" #include "rtnl-util.h" -#include "rtnl-internal.h" #include "event-util.h" static void test_link_configure(sd_rtnl *rtnl, int ifindex) { @@ -86,7 +85,7 @@ static void test_route(void) { return; } - assert(message_seal(NULL, req) >= 0); + assert(rtnl_message_seal(NULL, req) >= 0); assert(sd_rtnl_message_read(req, &type, &data) > 0); assert(type == RTA_GATEWAY); @@ -227,7 +226,7 @@ static void test_container(void) { assert(sd_rtnl_message_close_container(m) >= 0); assert(sd_rtnl_message_close_container(m) == -EINVAL); - assert(message_seal(NULL, m) >= 0); + assert(rtnl_message_seal(NULL, m) >= 0); assert(sd_rtnl_message_read(m, &type, &data) >= 0); assert(type == IFLA_LINKINFO); |