From 9b8b7b9f8fd93aecece60cb73cdb4dc34df032bf Mon Sep 17 00:00:00 2001 From: tromey Date: Fri, 15 Oct 1999 16:53:41 +0000 Subject: * gij.cc (main): Formatting fixes. (_Jv_Compiler_Properties): Define. * java/lang/natSystem.cc (_Jv_Environment_Properties): Don't declare. (init_properties): Set properites from _Jv_Compiler_Properties. * include/java-props.h (_Jv_Compiler_Properties, _Jv_Environment_Properties): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30020 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/gij.cc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'libjava/gij.cc') diff --git a/libjava/gij.cc b/libjava/gij.cc index ffe1515037d..b851b77dcd8 100644 --- a/libjava/gij.cc +++ b/libjava/gij.cc @@ -15,13 +15,20 @@ details. */ #include #include -int main (int argc, const char **argv) +// This is used to initialize the compiled-in system properties. +const char *_Jv_Compiler_Properties[] = +{ + NULL +}; + +int +main (int argc, const char **argv) { if (argc < 2) { - printf ("usage: %s args\n", argv[0]); + printf ("usage: %s CLASS [ARGS]...\n", argv[0]); exit (1); } - _Jv_RunMain (argv[1], argc-1, argv+1); + _Jv_RunMain (argv[1], argc - 1, argv + 1); } -- cgit v1.2.3