From 154282855d66bde42c97ab87b14fcfef2670c007 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Sat, 24 Jun 2000 01:04:58 +0000 Subject: [PATCH] testCompile() is static git-svn-id: svn://10.0.0.236/trunk@73135 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/js2/js2.cpp | 2 +- mozilla/js2/tests/cpp/js2_shell.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/js/js2/js2.cpp b/mozilla/js/js2/js2.cpp index bdc6753a03c..68a863cd4d1 100644 --- a/mozilla/js/js2/js2.cpp +++ b/mozilla/js/js2/js2.cpp @@ -253,7 +253,7 @@ char * tests[] = { "a = { f1: 1, f2: 2}; print(a.f2++, \" should be 2\"); print(a.f2 <<= 1, \" should be 6\"); return;" }; -void testCompile() +static void testCompile() { JSScope glob; Context cx(world, &glob); diff --git a/mozilla/js2/tests/cpp/js2_shell.cpp b/mozilla/js2/tests/cpp/js2_shell.cpp index bdc6753a03c..68a863cd4d1 100644 --- a/mozilla/js2/tests/cpp/js2_shell.cpp +++ b/mozilla/js2/tests/cpp/js2_shell.cpp @@ -253,7 +253,7 @@ char * tests[] = { "a = { f1: 1, f2: 2}; print(a.f2++, \" should be 2\"); print(a.f2 <<= 1, \" should be 6\"); return;" }; -void testCompile() +static void testCompile() { JSScope glob; Context cx(world, &glob);