Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2254)

Unified Diff: net/third_party/nss/ssl/bodge/secitem_array.c

Issue 20561004: Linux: fix compatibility with nss-3.15 and <gcc-4.6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whitespace Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/bodge/secitem_array.c
diff --git a/net/third_party/nss/ssl/bodge/secitem_array.c b/net/third_party/nss/ssl/bodge/secitem_array.c
index 62e590742194012b49f17d72b0cdf383c135416a..2acd5f8e24a2b5f2a899de3c1247246a45fe0119 100644
--- a/net/third_party/nss/ssl/bodge/secitem_array.c
+++ b/net/third_party/nss/ssl/bodge/secitem_array.c
@@ -12,12 +12,12 @@
#include "secerr.h"
#include "secport.h"
-typedef struct SECItemArrayStr SECItemArray;
-
#define NSSUTIL_VERSION_NUM \
(NSSUTIL_VMAJOR * 10000 + NSSUTIL_VMINOR * 100 + NSSUTIL_VPATCH)
#if NSSUTIL_VERSION_NUM < 31500
// Added in NSS 3.15.
+typedef struct SECItemArrayStr SECItemArray;
+
struct SECItemArrayStr {
SECItem *items;
unsigned int len;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698