httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@hyperreal.com>
Subject cvs commit: apache/src multithread.h
Date Mon, 16 Jun 1997 15:20:17 GMT
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 */
  
  
  

Mime
View raw message