diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2002-04-18 09:09:22 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2002-04-18 09:09:22 +0000 |
commit | 23bfd2e2b2468370bcbc29ef8cbe0007a4b398b3 (patch) | |
tree | 2dbdd0cf7b08a397e7d499d1110d6c2f8a733b81 /bridges/test/testsameprocess.cxx | |
parent | 06e7790ced21e48a8515735216cbd994660a5454 (diff) |
now passes gcc3 compiler
Diffstat (limited to 'bridges/test/testsameprocess.cxx')
-rw-r--r-- | bridges/test/testsameprocess.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bridges/test/testsameprocess.cxx b/bridges/test/testsameprocess.cxx index 121c77ea07f3..f4d8db6882d5 100644 --- a/bridges/test/testsameprocess.cxx +++ b/bridges/test/testsameprocess.cxx @@ -2,9 +2,9 @@ * * $RCSfile: testsameprocess.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jbu $ $Date: 2001-05-29 07:09:02 $ + * last change: $Author: jbu $ $Date: 2002-04-18 10:09:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -154,12 +154,12 @@ void MyThread::run() } -void main( int argc, char *argv[] ) +int main( int argc, char *argv[] ) { if( argc < 2 ) { printf( "usage : testsamprocess host:port\n" ); - exit(1 ); + return 1; } { @@ -246,4 +246,5 @@ void main( int argc, char *argv[] ) rComp = Reference < XComponent > ( rSMgr , UNO_QUERY ); rComp->dispose(); } + return 0; } |