You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/11/23 17:16:10 UTC

cvs commit: xml-xerces/c/tests/ThreadTest ThreadTest.cpp

tng         01/11/23 08:16:10

  Modified:    c/tests/ThreadTest ThreadTest.cpp
  Log:
  Elimiate compiler warning Warning (Anachronism): Formal argument start_routine of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*, extern "C" void*(*)(void*), void*) is being passed void*(*)(void*).
  
  Revision  Changes    Path
  1.13      +1 -9      xml-xerces/c/tests/ThreadTest/ThreadTest.cpp
  
  Index: ThreadTest.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/ThreadTest/ThreadTest.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ThreadTest.cpp	2001/06/22 14:22:00	1.12
  +++ ThreadTest.cpp	2001/11/23 16:16:10	1.13
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: ThreadTest.cpp,v 1.12 2001/06/22 14:22:00 tng Exp $
  + * $Id: ThreadTest.cpp,v 1.13 2001/11/23 16:16:10 tng Exp $
    *
    * @author Andy Heninger, IBM
    */
  @@ -118,9 +118,7 @@
   //
   //------------------------------------------------------------------------------
   
  -#ifdef OS390
   extern "C" {
  -#endif
   
   
   typedef void (*ThreadFunc)(void *);
  @@ -161,9 +159,7 @@
       }
   
   }
  -#ifdef OS390
   }
  -#endif
   #else
   #error This platform is not supported
   #endif
  @@ -777,9 +773,7 @@
   //
   //----------------------------------------------------------------------
   
  -#ifdef OS390
   extern "C" {
  -#endif
   
   void threadMain (void *param)
   {
  @@ -841,9 +835,7 @@
       }
   }
   
  -#ifdef OS390
   }
  -#endif
   
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org