From 7723a871e2847b790003a38b1b5fbef1500d2b28 Mon Sep 17 00:00:00 2001 From: "tague%netscape.com" Date: Tue, 13 Apr 1999 23:03:40 +0000 Subject: [PATCH] Fixed windows build booboo. Added extern C to the defintion of nsQuickSort --- base/src/nsQuickSort.cpp | 1 + xpcom/ds/nsQuickSort.cpp | 1 + xpcom/glue/nsQuickSort.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/base/src/nsQuickSort.cpp b/base/src/nsQuickSort.cpp index e799dc795239..2e43f3d08555 100644 --- a/base/src/nsQuickSort.cpp +++ b/base/src/nsQuickSort.cpp @@ -97,6 +97,7 @@ med3(char *a, char *b, char *c, cmp_t* cmp, void *data) :(cmp(b, c, data) > 0 ? b : (cmp(a, c, data) < 0 ? a : c )); } +extern "C" void nsQuickSort ( void *a, unsigned int n, diff --git a/xpcom/ds/nsQuickSort.cpp b/xpcom/ds/nsQuickSort.cpp index e799dc795239..2e43f3d08555 100644 --- a/xpcom/ds/nsQuickSort.cpp +++ b/xpcom/ds/nsQuickSort.cpp @@ -97,6 +97,7 @@ med3(char *a, char *b, char *c, cmp_t* cmp, void *data) :(cmp(b, c, data) > 0 ? b : (cmp(a, c, data) < 0 ? a : c )); } +extern "C" void nsQuickSort ( void *a, unsigned int n, diff --git a/xpcom/glue/nsQuickSort.cpp b/xpcom/glue/nsQuickSort.cpp index e799dc795239..2e43f3d08555 100644 --- a/xpcom/glue/nsQuickSort.cpp +++ b/xpcom/glue/nsQuickSort.cpp @@ -97,6 +97,7 @@ med3(char *a, char *b, char *c, cmp_t* cmp, void *data) :(cmp(b, c, data) > 0 ? b : (cmp(a, c, data) < 0 ? a : c )); } +extern "C" void nsQuickSort ( void *a, unsigned int n,