cppuhelper/source/findsofficepath.c | 2 +- odk/source/unoapploader/win/unoapploader.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit de465317350f94c8b3308c73572467b588af5af0 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Apr 11 18:37:00 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Apr 11 19:40:51 2022 +0200 -Werror,-Wstrict-prototypes (clang-cl) Change-Id: I72e35f51eb607662608ccaf944bec64ed422cef4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132835 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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 )