diff options
author | Nicolas Dato <nicolas.dato@gmail.com> | 2025-07-17 20:52:49 -0300 |
---|---|---|
committer | Nicolas Dato <nicolas.dato@gmail.com> | 2025-07-18 07:15:02 -0300 |
commit | b1fcc672448f8403a567cd280c2151eb6d5799cb (patch) | |
tree | 995ef80358f3c88807d8034b5ad3f78b54301482 /src/itc.c | |
parent | ee208b6f61a4f2f52d6a796acdb0764374d23234 (diff) | |
download | libtuberia-b1fcc672448f8403a567cd280c2151eb6d5799cb.tar.gz |
adding documentation
Diffstat (limited to 'src/itc.c')
-rw-r--r-- | src/itc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,7 +46,7 @@ void itc_free(itc **ctx, itc_free_element free_element) *ctx = NULL; } -void *itc_retrive(itc *ctx, int timeout_ms) +void *itc_retrieve(itc *ctx, int timeout_ms) { struct timespec ts; void *element; @@ -111,7 +111,7 @@ void itc_discard_all(itc *ctx, itc_free_element free_element) return; } - while ((element = itc_retrive(ctx, 0)) != NULL) { + while ((element = itc_retrieve(ctx, 0)) != NULL) { if (free_element != NULL) { free_element(element); } |