Blame SOURCES/cppunit-warnings-sf2912630.patch
|
|
9fe358 |
--- cppunit-1.12.1/include/cppunit/plugin/TestPlugIn.h 2007-01-12 05:54:34.000000000 +0100
|
|
|
9fe358 |
+++ cppunit-1.12.1/include/cppunit/plugin/TestPlugIn.h 2009-12-02 15:33:29.639857272 +0100
|
|
|
9fe358 |
@@ -151,9 +151,7 @@
|
|
|
9fe358 |
#include <windows.h>
|
|
|
9fe358 |
#endif
|
|
|
9fe358 |
#define CPPUNIT_PLUGIN_IMPLEMENT_MAIN() \
|
|
|
9fe358 |
- BOOL APIENTRY DllMain( HANDLE hModule, \
|
|
|
9fe358 |
- DWORD ul_reason_for_call, \
|
|
|
9fe358 |
- LPVOID lpReserved ) \
|
|
|
9fe358 |
+ BOOL APIENTRY DllMain( HANDLE, DWORD, LPVOID ) \
|
|
|
9fe358 |
{ \
|
|
|
9fe358 |
return TRUE; \
|
|
|
9fe358 |
} \
|
|
|
9fe358 |
@@ -162,7 +160,7 @@
|
|
|
9fe358 |
// Unix
|
|
|
9fe358 |
#elif defined(CPPUNIT_HAVE_UNIX_DLL_LOADER) || defined(CPPUNIT_HAVE_UNIX_SHL_LOADER)
|
|
|
9fe358 |
#define CPPUNIT_PLUGIN_IMPLEMENT_MAIN() \
|
|
|
9fe358 |
- int main( int argc, char *argv[] ) \
|
|
|
9fe358 |
+ int main( int, char *[] ) \
|
|
|
9fe358 |
{ \
|
|
|
9fe358 |
return 0; \
|
|
|
9fe358 |
} \
|