summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-10-28 15:22:25 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-10-28 15:22:25 +0000
commit064e4c2ff80cbebcabff2a4413ade07d84cf81d4 (patch)
tree497aa1286a6bd4b1873c8920d10cd83c9262267a /cpputools
parent736bb3f906c195a7960eb6059cb2c57411990f0f (diff)
INTEGRATION: CWS valgrind02 (1.2.106); FILE MERGED
2004/10/11 17:27:11 mhu 1.2.106.1: #i35209# Adapted to use SAL_IMPLEMENT_MAIN_WITH_ARGS() macro instead of plain main() function.
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/regsingleton/regsingleton.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpputools/source/regsingleton/regsingleton.cxx b/cpputools/source/regsingleton/regsingleton.cxx
index bb2c7cb2fe69..39729a30e332 100644
--- a/cpputools/source/regsingleton/regsingleton.cxx
+++ b/cpputools/source/regsingleton/regsingleton.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: regsingleton.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dbo $ $Date: 2002-09-11 08:24:34 $
+ * last change: $Author: rt $ $Date: 2004-10-28 16:22:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,6 +61,7 @@
#include <stdio.h>
+#include "sal/main.h"
#include <osl/diagnose.h>
#include <osl/file.h>
@@ -84,7 +85,7 @@ static void print_options() SAL_THROW( () )
}
//==================================================================================================
-extern "C" int SAL_CALL main( int argc, char const * argv [] )
+SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{
if (argc < 3)
{