summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl/test-rtnl.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-10-29 15:03:27 +0100
committerTom Gundersen <teg@jklm.no>2013-10-29 16:12:11 +0100
commitdabfa9d1efd0d1a7e0507d69f9789bc6404ff786 (patch)
tree8b7fbb909c0318d5bbf9295a75e85bbcb922e1af /src/libsystemd-rtnl/test-rtnl.c
parent5fde13d748749f0e06e2e6cdd15f0980a79ea82c (diff)
sd-rtnl: minor fixes
Diffstat (limited to 'src/libsystemd-rtnl/test-rtnl.c')
-rw-r--r--src/libsystemd-rtnl/test-rtnl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-rtnl/test-rtnl.c b/src/libsystemd-rtnl/test-rtnl.c
index 4079e9ec97..1cdd6e115d 100644
--- a/src/libsystemd-rtnl/test-rtnl.c
+++ b/src/libsystemd-rtnl/test-rtnl.c
@@ -28,7 +28,7 @@
static void test_link_configure(sd_rtnl *rtnl, int ifindex) {
_cleanup_sd_rtnl_message_unref_ sd_rtnl_message *message;
- __u16 type;
+ uint16_t type;
const char *mac = "98:fe:94:3f:c6:18", *name = "test";
unsigned int mtu = 1450;
void *data;
@@ -60,7 +60,7 @@ int main(void) {
sd_rtnl_message *r;
void *data;
int if_loopback;
- __u16 type;
+ uint16_t type;
unsigned int mtu = 0;
unsigned int *mtu_reply;