aboutsummaryrefslogtreecommitdiff
path: root/lib/llist.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-09-05 12:44:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-09-05 12:44:35 +0000
commitadcbe03aeb72e25c2c1509c0ad3fd1d1e620b6db (patch)
tree473f442f39e8a09415dd87e1aba853b00b772f1a /lib/llist.h
parent359c0eac0ddc8849334e4b05012ec41540892f02 (diff)
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.h8
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