You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Randy Terbush <ra...@hyperreal.com> on 1997/06/16 17:20:17 UTC

cvs commit: apache/src multithread.h

randy       97/06/16 08:20:17

  Modified:    src       multithread.h
  Log:
  Fix the warnings in alloc.c complaining of code that does nothing.
  Make it clear to the compiler that we intend for it not to do anything.
  
  Revision  Changes    Path
  1.3       +2 -2      apache/src/multithread.h
  
  Index: multithread.h
  ===================================================================
  RCS file: /export/home/cvs/apache/src/multithread.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -C3 -r1.2 -r1.3
  *** multithread.h	1997/06/15 22:27:12	1.2
  --- multithread.h	1997/06/16 15:20:16	1.3
  ***************
  *** 48,55 ****
    #define APACHE_TLS
    /* Only define the ones actually used, for now */
    #define create_mutex(name)	NULL
  ! #define acquire_mutex(mutex_id)	MULTI_OK
  ! #define release_mutex(mutex_id)	MULTI_OK
    
    
    #endif /* ndef MULTITHREAD */
  --- 48,55 ----
    #define APACHE_TLS
    /* Only define the ones actually used, for now */
    #define create_mutex(name)	NULL
  ! #define acquire_mutex(mutex_id)	{}
  ! #define release_mutex(mutex_id)	{}
    
    
    #endif /* ndef MULTITHREAD */