diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-16 18:58:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-20 22:42:29 +0100 |
commit | ccf86354354a378b314f66465bbb31f51b91864c (patch) | |
tree | 1fe13148de5894ba14514dd5af20b44e910a1597 /src/libsystemd-network/test-lldp.c | |
parent | c7d264ff9835ede8fae2f9edf8431fff8da19872 (diff) |
libsystemd-network: don't abbreviate "callback" as "cb" needlessly
This isn't an excercise in creating APIs that are hard to understand, hence
let's call a callback a callback.
Diffstat (limited to 'src/libsystemd-network/test-lldp.c')
-rw-r--r-- | src/libsystemd-network/test-lldp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-lldp.c b/src/libsystemd-network/test-lldp.c index b8490073dd..ed923d5cb3 100644 --- a/src/libsystemd-network/test-lldp.c +++ b/src/libsystemd-network/test-lldp.c @@ -256,7 +256,7 @@ static void lldp_handler (sd_lldp *lldp, int event, void *userdata) { lldp_handler_calls++; } -static int start_lldp(sd_lldp **lldp, sd_event *e, sd_lldp_cb_t cb, void *cb_data) { +static int start_lldp(sd_lldp **lldp, sd_event *e, sd_lldp_callback_t cb, void *cb_data) { int r; r = sd_lldp_new(42, "dummy", &mac_addr, lldp); |