/* * Inserts an item into the list in a sorted way. * The position of the new item is before the list item at which the comparison between the new items data and the list item data is first true. */ doubll_item * insert_list_sorted(doubll *list, void * data, size_t size, int (*compare)(void *, void *));
int testPrimeList(doubll *list);
primes : primes.c libdoubll.a $(CC) -Wpedantic -Wall -Wextra -Werror -pthread -std=c89 -O3 -o primes primes.c -ldoubll -L. -lm