From 58110cdb960b7ce7fd7f1c27ae7b552d0a2ecfac Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Wed, 9 Jun 1999 10:08:12 +0000 Subject: [PATCH] This is all C code. git-svn-id: svn://10.0.0.236/trunk@34403 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/ds/nsQuickSort.cpp | 4 ++++ mozilla/xpcom/glue/nsQuickSort.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mozilla/xpcom/ds/nsQuickSort.cpp b/mozilla/xpcom/ds/nsQuickSort.cpp index 9ec22e6247e..36e25e6a511 100644 --- a/mozilla/xpcom/ds/nsQuickSort.cpp +++ b/mozilla/xpcom/ds/nsQuickSort.cpp @@ -41,6 +41,8 @@ #include "prtypes.h" #include "nsQuickSort.h" +NS_BEGIN_EXTERN_C + #if !defined(DEBUG) && (defined(__cplusplus) || defined(__gcc)) # ifndef INLINE # define INLINE inline @@ -180,3 +182,5 @@ loop: SWAPINIT(a, es); } /* NS_QuickSort(pn - r, r / es, es, cmp, data);*/ } + +NS_END_EXTERN_C diff --git a/mozilla/xpcom/glue/nsQuickSort.cpp b/mozilla/xpcom/glue/nsQuickSort.cpp index 9ec22e6247e..36e25e6a511 100644 --- a/mozilla/xpcom/glue/nsQuickSort.cpp +++ b/mozilla/xpcom/glue/nsQuickSort.cpp @@ -41,6 +41,8 @@ #include "prtypes.h" #include "nsQuickSort.h" +NS_BEGIN_EXTERN_C + #if !defined(DEBUG) && (defined(__cplusplus) || defined(__gcc)) # ifndef INLINE # define INLINE inline @@ -180,3 +182,5 @@ loop: SWAPINIT(a, es); } /* NS_QuickSort(pn - r, r / es, es, cmp, data);*/ } + +NS_END_EXTERN_C