summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/test-ndisc-rs.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-02-18 17:53:56 +0100
committerLennart Poettering <lennart@poettering.net>2021-02-18 18:17:16 +0100
commit2324fd3a3931851618f2e523b14e7ee4efe0f72c (patch)
treeed8a9f586d6098795e1197a56d84d3943ca435d3 /src/libsystemd-network/test-ndisc-rs.c
parentman: Rename duplicate Credentials section name (diff)
downloadsystemd-2324fd3a3931851618f2e523b14e7ee4efe0f72c.tar.xz
systemd-2324fd3a3931851618f2e523b14e7ee4efe0f72c.zip
network: suffix types with _t in public headers
Apparently, in our current public headers (i.e. those called sd-*.h) we suffixed typedefs that we use as values with _t, but we didn't do this for enum typedefs. Fix that while this stuff is not actually public yet. With this scheme "value typedefs" now end systematically in _t, and "object typedefs" (i.e. structures that are typically passed around via pointers and not values) do not. No code changes, just some renaming.
Diffstat (limited to 'src/libsystemd-network/test-ndisc-rs.c')
-rw-r--r--src/libsystemd-network/test-ndisc-rs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-ndisc-rs.c b/src/libsystemd-network/test-ndisc-rs.c
index 1b2bba889d..ce596bb96a 100644
--- a/src/libsystemd-network/test-ndisc-rs.c
+++ b/src/libsystemd-network/test-ndisc-rs.c
@@ -232,7 +232,7 @@ int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr) {
return send_ra_function(0);
}
-static void test_callback(sd_ndisc *nd, sd_ndisc_event event, sd_ndisc_router *rt, void *userdata) {
+static void test_callback(sd_ndisc *nd, sd_ndisc_event_t event, sd_ndisc_router *rt, void *userdata) {
sd_event *e = userdata;
static unsigned idx = 0;
uint64_t flags_array[] = {