diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-10 17:24:04 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-10 17:24:04 +0000 |
commit | c9a58ceb7c07774944930105ace2f042be7b5f53 (patch) | |
tree | 554a1014d8835b5d8344dc9315c0572e75e633e5 /src/nsssd/nsssd_main.c | |
parent | eed713a7a54262c9df8fa139db7d75112115d63f (diff) | |
download | nsss-c9a58ceb7c07774944930105ace2f042be7b5f53.tar.xz |
Adapt to skalibs-2.11.0.0, prepare for 0.1.0.2
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/nsssd/nsssd_main.c')
-rw-r--r-- | src/nsssd/nsssd_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nsssd/nsssd_main.c b/src/nsssd/nsssd_main.c index 2f4c625..9dbc27c 100644 --- a/src/nsssd/nsssd_main.c +++ b/src/nsssd/nsssd_main.c @@ -26,7 +26,7 @@ static unsigned int initted = 0 ; static void get0 (char *s, size_t n) { - tain_t deadline ; + tain deadline ; tain_ulong(&deadline, 30) ; tain_add_g(&deadline, &deadline) ; if (buffer_timed_get_g(buffer_0small, s, n, &deadline) < n) @@ -36,7 +36,7 @@ static void get0 (char *s, size_t n) static void put1 (char const *s, size_t n) { size_t w = 0 ; - tain_t deadline ; + tain deadline ; tain_ulong(&deadline, 30) ; tain_add_g(&deadline, &deadline) ; while (!buffer_putall(buffer_1, s, n, &w)) @@ -48,7 +48,7 @@ static void put1 (char const *s, size_t n) static void flush1 (void) { - tain_t deadline ; + tain deadline ; tain_ulong(&deadline, 2) ; tain_add_g(&deadline, &deadline) ; if (!buffer_timed_flush_g(buffer_1, &deadline)) @@ -461,7 +461,7 @@ int nsssd_main (char const *const *argv, char const *const *envp) for (;;) { - tain_t deadline ; + tain deadline ; char c ; tain_add_g(&deadline, &tain_infinite_relative) ; if (!buffer_timed_get_g(buffer_0small, &c, 1, &deadline)) break ; |