diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-15 16:53:41 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-15 16:53:41 +0000 |
commit | 9b8b7b9f8fd93aecece60cb73cdb4dc34df032bf (patch) | |
tree | d36cc38c405c94aa7604774dd40bb59ca0cc4485 /libjava/gij.cc | |
parent | d25efa9c2efb1fea23f948c1b8d682e1021fde7e (diff) | |
download | gcc-9b8b7b9f8fd93aecece60cb73cdb4dc34df032bf.tar.gz |
* 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
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); } |