summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/test-dhcp-option.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-26 22:47:53 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-26 22:47:53 +0200
commit89ca10c6a61309d84d54c5dc5a295387ce39e610 (patch)
tree41f38b442a9583d946ca73f1a0848585fb782271 /src/libsystemd-network/test-dhcp-option.c
parent0ae0e5cd96813bacad43a39920a043d8d20a67db (diff)
network: s/user_data/userdata/
Everywhere else we call the generic user data pointer just "userdata", rather than "user_data". Let's do this here, too.
Diffstat (limited to 'src/libsystemd-network/test-dhcp-option.c')
-rw-r--r--src/libsystemd-network/test-dhcp-option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/test-dhcp-option.c b/src/libsystemd-network/test-dhcp-option.c
index a63a4ea738..37f46c8c56 100644
--- a/src/libsystemd-network/test-dhcp-option.c
+++ b/src/libsystemd-network/test-dhcp-option.c
@@ -145,8 +145,8 @@ static void test_ignore_opts(uint8_t *descoption, int *descpos, int *desclen) {
}
}
-static int test_options_cb(uint8_t code, uint8_t len, const uint8_t *option, void *user_data) {
- struct option_desc *desc = user_data;
+static int test_options_cb(uint8_t code, uint8_t len, const uint8_t *option, void *userdata) {
+ struct option_desc *desc = userdata;
uint8_t *descoption = NULL;
int *desclen = NULL, *descpos = NULL;
uint8_t optcode = 0;