From a6df12a0f6a54e6700d3106e6a1e44c60414b1c6 Mon Sep 17 00:00:00 2001 From: "jdunn%netscape.com" Date: Tue, 6 Nov 2001 13:22:05 +0000 Subject: [PATCH] fixing build bustage on HP's & AIX's new compilers removing the static keyword from a couple templates sr=jst@netscape.com # 106167 git-svn-id: svn://10.0.0.236/trunk@107449 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLinebreakConverter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpcom/io/nsLinebreakConverter.cpp b/mozilla/xpcom/io/nsLinebreakConverter.cpp index cb9081529b8..f5d30721f42 100644 --- a/mozilla/xpcom/io/nsLinebreakConverter.cpp +++ b/mozilla/xpcom/io/nsLinebreakConverter.cpp @@ -77,7 +77,7 @@ static const char* GetLinebreakString(nsLinebreakConverter::ELinebreakType aBrea Wee inline method to append a line break. Modifies ioDest. ----------------------------------------------------------------------------*/ template -static void AppendLinebreak(T*& ioDest, const char* lineBreakStr) +void AppendLinebreak(T*& ioDest, const char* lineBreakStr) { *ioDest++ = *lineBreakStr; @@ -91,7 +91,7 @@ static void AppendLinebreak(T*& ioDest, const char* lineBreakStr) Counts occurrences of breakStr in aSrc ----------------------------------------------------------------------------*/ template -static PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr) +PRInt32 CountLinebreaks(const T* aSrc, PRInt32 inLen, const char* breakStr) { const T* src = aSrc; const T* srcEnd = aSrc + inLen;