From 9d2ca1ee92a13d6e276d74536ebf295f2331dc08 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Fri, 27 Feb 2026 12:39:03 +0100 Subject: Add comments to test programs, replace custom atoi with libc Clarify purpose of helper functions and label the allocate/verify/free phases in _s_test_category and _s_test_realloc. Remove _s_atoi in favor of stdlib atoi. --- tests/src/test_show.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/src/test_show.c') diff --git a/tests/src/test_show.c b/tests/src/test_show.c index e5e7dca..877d39e 100644 --- a/tests/src/test_show.c +++ b/tests/src/test_show.c @@ -8,6 +8,7 @@ int main (void) { + /* One allocation per category: TINY, TINY, SMALL, LARGE. */ void *a = malloc (42); void *b = malloc (100); void *c = malloc (500); -- cgit v1.2.3