From b1fcc672448f8403a567cd280c2151eb6d5799cb Mon Sep 17 00:00:00 2001 From: Nicolas Dato Date: Thu, 17 Jul 2025 20:52:49 -0300 Subject: adding documentation --- src/itc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/itc.c') diff --git a/src/itc.c b/src/itc.c index 6dc3d41..8ebab3b 100644 --- a/src/itc.c +++ b/src/itc.c @@ -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); } -- cgit v1.2.3