diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-26 23:29:15 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-27 22:35:07 +0200 |
commit | bbb7a0e6edc32da03cd652cee6f42e05b86cecd0 (patch) | |
tree | 6e9abcb5076040e670360cb1c0dbc167d6d863a4 /src | |
parent | stub: restore random seed update logic (diff) | |
download | systemd-bbb7a0e6edc32da03cd652cee6f42e05b86cecd0.tar.xz systemd-bbb7a0e6edc32da03cd652cee6f42e05b86cecd0.zip |
sd-varlink: make the argument type consistent with header
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd/sd-varlink/sd-varlink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd/sd-varlink/sd-varlink.c b/src/libsystemd/sd-varlink/sd-varlink.c index 1369dfbb77..447d5c333c 100644 --- a/src/libsystemd/sd-varlink/sd-varlink.c +++ b/src/libsystemd/sd-varlink/sd-varlink.c @@ -1569,7 +1569,7 @@ static void handle_revents(sd_varlink *v, int revents) { } } -_public_ int sd_varlink_wait(sd_varlink *v, usec_t timeout) { +_public_ int sd_varlink_wait(sd_varlink *v, uint64_t timeout) { int r, events; usec_t t; @@ -1683,7 +1683,7 @@ _public_ int sd_varlink_get_events(sd_varlink *v) { return ret; } -_public_ int sd_varlink_get_timeout(sd_varlink *v, usec_t *ret) { +_public_ int sd_varlink_get_timeout(sd_varlink *v, uint64_t *ret) { assert_return(v, -EINVAL); if (v->state == VARLINK_DISCONNECTED) @@ -2817,7 +2817,7 @@ _public_ int sd_varlink_get_peer_pidfd(sd_varlink *v) { return v->peer_pidfd; } -_public_ int sd_varlink_set_relative_timeout(sd_varlink *v, usec_t timeout) { +_public_ int sd_varlink_set_relative_timeout(sd_varlink *v, uint64_t timeout) { assert_return(v, -EINVAL); assert_return(timeout > 0, -EINVAL); |