diff options
author | Ryan Sleevi <ryan.sleevi@gmail.com> | 2014-01-22 16:34:59 -0800 |
---|---|---|
committer | Ryan Sleevi <ryan.sleevi@gmail.com> | 2014-01-22 16:34:59 -0800 |
commit | 1d148ddd4839b67a682f444030c40b56de073c2b (patch) | |
tree | 7f142b00031545563b50c5e2be44cb91d7b12bde /lib/certdb | |
parent | f442ffd7d85928b78fcd07284ede880f824e21c5 (diff) | |
download | nss-hg-1d148ddd4839b67a682f444030c40b56de073c2b.tar.gz |
Bug 962413: Define a CERT_LIST_TAIL macro to match CERT_LIST_HEAD
Original patch by Matt Mueller (mattm@chromium.org)
r=ryan.sleevi
Diffstat (limited to 'lib/certdb')
-rw-r--r-- | lib/certdb/certt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/certdb/certt.h b/lib/certdb/certt.h index 25c87e037..9ab00fde1 100644 --- a/lib/certdb/certt.h +++ b/lib/certdb/certt.h @@ -342,6 +342,7 @@ struct CERTCertListStr { }; #define CERT_LIST_HEAD(l) ((CERTCertListNode *)PR_LIST_HEAD(&l->list)) +#define CERT_LIST_TAIL(l) ((CERTCertListNode *)PR_LIST_TAIL(&l->list)) #define CERT_LIST_NEXT(n) ((CERTCertListNode *)n->links.next) #define CERT_LIST_END(n,l) (((void *)n) == ((void *)&l->list)) #define CERT_LIST_EMPTY(l) CERT_LIST_END(CERT_LIST_HEAD(l), l) |