From 9cfcff6c2195ae25be4022654990c9eea6fbb2f8 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 27 Jan 2012 15:55:07 +0100 Subject: upstream libreoffice warnings patch --- include/cppunit/plugin/TestPlugIn.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/cppunit/plugin/TestPlugIn.h') diff --git a/include/cppunit/plugin/TestPlugIn.h b/include/cppunit/plugin/TestPlugIn.h index bd0565c..fed056d 100644 --- a/include/cppunit/plugin/TestPlugIn.h +++ b/include/cppunit/plugin/TestPlugIn.h @@ -151,9 +151,7 @@ typedef CppUnitTestPlugIn *(*TestPlugInSignature)(); #include #endif #define CPPUNIT_PLUGIN_IMPLEMENT_MAIN() \ - BOOL APIENTRY DllMain( HANDLE hModule, \ - DWORD ul_reason_for_call, \ - LPVOID lpReserved ) \ + BOOL APIENTRY DllMain( HANDLE, DWORD, LPVOID ) \ { \ return TRUE; \ } \ @@ -162,7 +160,7 @@ typedef CppUnitTestPlugIn *(*TestPlugInSignature)(); // Unix #elif defined(CPPUNIT_HAVE_UNIX_DLL_LOADER) || defined(CPPUNIT_HAVE_UNIX_SHL_LOADER) #define CPPUNIT_PLUGIN_IMPLEMENT_MAIN() \ - int main( int argc, char *argv[] ) \ + int main( int, char *[] ) \ { \ return 0; \ } \ -- cgit v1.2.1