diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-09-05 12:44:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-09-05 12:44:35 +0000 |
commit | adcbe03aeb72e25c2c1509c0ad3fd1d1e620b6db (patch) | |
tree | 473f442f39e8a09415dd87e1aba853b00b772f1a /lib/llist.h | |
parent | 359c0eac0ddc8849334e4b05012ec41540892f02 (diff) | |
download | curl-adcbe03aeb72e25c2c1509c0ad3fd1d1e620b6db.tar.gz |
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.
Diffstat (limited to 'lib/llist.h')
-rw-r--r-- | lib/llist.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 |