diff options
-rw-r--r-- | cppuhelper/source/findsofficepath.c | 2 | ||||
-rw-r--r-- | odk/source/unoapploader/win/unoapploader.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/findsofficepath.c b/cppuhelper/source/findsofficepath.c index c8a8846355fd..a46cfb88a1e7 100644 --- a/cppuhelper/source/findsofficepath.c +++ b/cppuhelper/source/findsofficepath.c @@ -87,7 +87,7 @@ static wchar_t* getPathFromRegistryKey( HKEY hroot, const wchar_t* subKeyName ) * @return the installation path or NULL, if no installation was found or * if an error occurred */ -static wchar_t* platformSpecific() +static wchar_t* platformSpecific(void) { const wchar_t* UNOPATHVARNAME = L"UNO_PATH"; diff --git a/odk/source/unoapploader/win/unoapploader.c b/odk/source/unoapploader/win/unoapploader.c index 4baa3ddda8c5..7a4f9e98e3de 100644 --- a/odk/source/unoapploader/win/unoapploader.c +++ b/odk/source/unoapploader/win/unoapploader.c @@ -265,7 +265,7 @@ int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, * found, or if an error occurred. * Returned pointer must be released with free() */ -wchar_t* getPath() +wchar_t* getPath(void) { wchar_t* path = cppuhelper_detail_findSofficePath(); @@ -400,7 +400,7 @@ void writeError( const char* errstr ) /* * Closes the error file. */ -void closeErrorFile() +void closeErrorFile(void) { FILE* ferr = getErrorFile( 0 ); if ( ferr != NULL ) |