You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rb...@apache.org on 2001/09/05 21:34:02 UTC

cvs commit: apr/locks/unix thread_mutex.c

rbb         01/09/05 12:34:01

  Modified:    include/arch/unix thread_mutex.h
               locks/unix thread_mutex.c
  Log:
  Cleanup some of the thread lock work.  Remove some unnecessary
  header files, and add tell apr_want.h that we want mem functions.
  Submitted by:	Aaron Bannert <aa...@clove.org>
  
  Revision  Changes    Path
  1.2       +0 -3      apr/include/arch/unix/thread_mutex.h
  
  Index: thread_mutex.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/unix/thread_mutex.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- thread_mutex.h	2001/09/04 23:28:50	1.1
  +++ thread_mutex.h	2001/09/05 19:34:01	1.2
  @@ -58,15 +58,12 @@
   #include "apr.h"
   #include "apr_private.h"
   #include "apr_general.h"
  -#include "apr_lib.h"
   #include "apr_thread_mutex.h"
  -#include "apr_sms.h"
   #include "apr_portable.h"
   
   #if APR_HAVE_PTHREAD_H
   #include <pthread.h>
   #endif
  -/* End System Headers */
   
   #if APR_HAS_THREADS
   struct apr_thread_mutex_t {
  
  
  
  1.2       +2 -0      apr/locks/unix/thread_mutex.c
  
  Index: thread_mutex.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/thread_mutex.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- thread_mutex.c	2001/09/04 23:28:51	1.1
  +++ thread_mutex.c	2001/09/05 19:34:01	1.2
  @@ -53,6 +53,8 @@
    */
   
   #include "thread_mutex.h"
  +#define APR_WANT_MEMFUNC
  +#include "apr_want.h"
   
   #if APR_HAS_THREADS