diff options
author | Tom Tromey <tromey@cygnus.com> | 1999-10-15 16:53:41 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 1999-10-15 16:53:41 +0000 |
commit | 76ed0c0a4bd74a140e0de578eb94f2fd969646bd (patch) | |
tree | d36cc38c405c94aa7604774dd40bb59ca0cc4485 /libjava/gij.cc | |
parent | 7cf41963391146126ec2d0064e8fb573fc0addf5 (diff) | |
download | gcc-76ed0c0a4bd74a140e0de578eb94f2fd969646bd.tar.gz |
gij.cc (main): Formatting fixes.
* 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.
From-SVN: r30020
Diffstat (limited to 'libjava/gij.cc')
-rw-r--r-- | libjava/gij.cc | 13 |
1 files changed, 10 insertions, 3 deletions
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 <java/lang/System.h> #include <java/util/Properties.h> -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 <class name> 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); } |