diff options
author | Christina Rossmanith <ChrRossmanith@web.de> | 2011-05-26 16:52:36 +0200 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-06-05 21:34:04 +0200 |
commit | d5124274aee27258649e43f3e9ba9c31b6bb4ff0 (patch) | |
tree | 83b0ec807744789d47aa1e2b6cbd765fec8f3697 | |
parent | 2c3a8596672739e06fbad428dcde24223e308c57 (diff) |
__cdecl -> SAL_CALL
-rw-r--r-- | io/test/testconnection.cxx | 6 | ||||
-rw-r--r-- | sal/workben/t_random.c | 6 |
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(); |