From adcbe03aeb72e25c2c1509c0ad3fd1d1e620b6db Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 5 Sep 2003 12:44:35 +0000 Subject: Uses less macros. #ifdef'ed out unused functions. Edited slightly to be more in the same style as other curl source code. The only actual code change is an added check after a malloc() call. --- lib/llist.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/llist.h') diff --git a/lib/llist.h b/lib/llist.h index 80875c860..146bad803 100644 --- a/lib/llist.h +++ b/lib/llist.h @@ -53,12 +53,4 @@ int Curl_llist_remove_next(curl_llist *, curl_llist_element *, void *); size_t Curl_llist_count(curl_llist *); void Curl_llist_destroy(curl_llist *, void *); -#define CURL_LLIST_HEAD(__l) ((__l)->head) -#define CURL_LLIST_TAIL(__l) ((__l)->tail) -#define CURL_LLIST_NEXT(__e) ((__e)->next) -#define CURL_LLIST_PREV(__e) ((__e)->prev) -#define CURL_LLIST_VALP(__e) ((__e)->ptr) -#define CURL_LLIST_IS_TAIL(__e) ((__e)->next ? 0 : 1) -#define CURL_LLIST_IS_HEAD(__e) ((__e)->prev ? 0 : 1) - #endif -- cgit v1.2.1