From 2d4c0ff91a693ed506b61fd1d3e930e1ef28b239 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Sun, 30 Apr 2000 14:56:31 +0000 Subject: [PATCH] made startsWith() static, to fix no prototype warning. --- js/js2/debugger.cpp | 2 +- js2/src/debugger.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/js2/debugger.cpp b/js/js2/debugger.cpp index 73d3b7876a03..1b5444e16827 100644 --- a/js/js2/debugger.cpp +++ b/js/js2/debugger.cpp @@ -63,7 +63,7 @@ namespace Debugger { /* return true if str2 starts with/is str1 * XXX ignore case */ - bool + static bool startsWith (const String &str1, const String &str2) { uint n; diff --git a/js2/src/debugger.cpp b/js2/src/debugger.cpp index 73d3b7876a03..1b5444e16827 100644 --- a/js2/src/debugger.cpp +++ b/js2/src/debugger.cpp @@ -63,7 +63,7 @@ namespace Debugger { /* return true if str2 starts with/is str1 * XXX ignore case */ - bool + static bool startsWith (const String &str1, const String &str2) { uint n;