Kaydet (Commit) d5124274 authored tarafından Christina Rossmanith's avatar Christina Rossmanith

__cdecl -> SAL_CALL

üst 2c3a8596
...@@ -179,11 +179,7 @@ void testConnection( const OUString &sConnectionDescription , ...@@ -179,11 +179,7 @@ void testConnection( const OUString &sConnectionDescription ,
} }
#if (defined UNX) int SAL_CALL main( int argc, char * argv[] )
int main( int argc, char * argv[] )
#else
int __cdecl main( int argc, char * argv[] )
#endif
{ {
Reference< XMultiServiceFactory > xMgr( Reference< XMultiServiceFactory > xMgr(
createRegistryServiceFactory( OUString( RTL_CONSTASCII_USTRINGPARAM("applicat.rdb")) ) ); createRegistryServiceFactory( OUString( RTL_CONSTASCII_USTRINGPARAM("applicat.rdb")) ) );
......
...@@ -45,11 +45,7 @@ static char *pt (unsigned char *md, int length) ...@@ -45,11 +45,7 @@ static char *pt (unsigned char *md, int length)
/* /*
* main. * main.
*/ */
#ifdef WIN32 int SAL_CALL main (void)
int __cdecl main (void)
#else
int main (void)
#endif
{ {
rtlRandomPool pool; rtlRandomPool pool;
pool = rtl_random_createPool(); pool = rtl_random_createPool();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment