diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-02 08:17:50 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-02 08:17:50 +0000 |
commit | a6ed8a776181daa3a47b722ec093abaab9982b2d (patch) | |
tree | 5070b42b7ca056532bd409017ca8ed6b83b3eb7b /cli_ure | |
parent | 7835512277f1437d21e3e26dc12b9d159fd2a2b9 (diff) |
#i10000# Use SAL_IMPLEMENT_MAIN instead of SAL_CALL main
Diffstat (limited to 'cli_ure')
-rw-r--r-- | cli_ure/source/climaker/climaker_app.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx index e576628963ac..3b279e6e5b45 100644 --- a/cli_ure/source/climaker/climaker_app.cxx +++ b/cli_ure/source/climaker/climaker_app.cxx @@ -2,9 +2,9 @@ * * $RCSfile: climaker_app.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2004-07-12 13:04:31 $ + * last change: $Author: rt $ $Date: 2004-11-02 09:17:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,6 +65,7 @@ #include "climaker_share.h" +#include "sal/main.h" #include "osl/process.h" #include "osl/file.hxx" #include "osl/thread.h" @@ -345,7 +346,7 @@ Reference< registry::XSimpleRegistry > open_registries( using namespace ::climaker; //############################################################################## -extern "C" int SAL_CALL main( int argc, char const * argv [] ) +SAL_IMPLEMENT_MAIN() { sal_uInt32 nCount = osl_getCommandArgCount(); if (0 == nCount) |