summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io/test/testconnection.cxx6
-rw-r--r--sal/workben/t_random.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx
index b4818c16f770..b61b2b0236e2 100644
--- a/io/test/testconnection.cxx
+++ b/io/test/testconnection.cxx
@@ -179,11 +179,7 @@ void testConnection( const OUString &sConnectionDescription ,
}
-#if (defined UNX)
-int main( int argc, char * argv[] )
-#else
-int __cdecl main( int argc, char * argv[] )
-#endif
+int SAL_CALL main( int argc, char * argv[] )
{
Reference< XMultiServiceFactory > xMgr(
createRegistryServiceFactory( OUString( RTL_CONSTASCII_USTRINGPARAM("applicat.rdb")) ) );
diff --git a/sal/workben/t_random.c b/sal/workben/t_random.c
index 130326f796a1..51a751fb6364 100644
--- a/sal/workben/t_random.c
+++ b/sal/workben/t_random.c
@@ -45,11 +45,7 @@ static char *pt (unsigned char *md, int length)
/*
* main.
*/
-#ifdef WIN32
-int __cdecl main (void)
-#else
-int main (void)
-#endif
+int SAL_CALL main (void)
{
rtlRandomPool pool;
pool = rtl_random_createPool();