From 39551bc785958950c5edd65d728ee9567a508129 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Tue, 25 Apr 2000 02:58:30 +0000 Subject: [PATCH] fixing mac bustage (we do reference argc/argv, to initialize them to something sensible). --- js/js2/js2.cpp | 2 +- js2/tests/cpp/js2_shell.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/js2/js2.cpp b/js/js2/js2.cpp index 2f924d6ae19..25c2974a4f3 100644 --- a/js/js2/js2.cpp +++ b/js/js2/js2.cpp @@ -394,7 +394,7 @@ namespace Shell { } /* namespace JavaScript */ -int main(int /* argc */, char /* **argv */) +int main(int argc, char **argv) { #if defined(XP_MAC) && !defined(XP_MAC_MPW) initConsole("\pJavaScript Shell", "Welcome to the js2 shell.\n", argc, argv); diff --git a/js2/tests/cpp/js2_shell.cpp b/js2/tests/cpp/js2_shell.cpp index 2f924d6ae19..25c2974a4f3 100644 --- a/js2/tests/cpp/js2_shell.cpp +++ b/js2/tests/cpp/js2_shell.cpp @@ -394,7 +394,7 @@ namespace Shell { } /* namespace JavaScript */ -int main(int /* argc */, char /* **argv */) +int main(int argc, char **argv) { #if defined(XP_MAC) && !defined(XP_MAC_MPW) initConsole("\pJavaScript Shell", "Welcome to the js2 shell.\n", argc, argv);