apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr-util/crypto apr_md5.c
Date Mon, 02 Jun 2003 13:47:57 GMT
trawick     2003/06/02 06:47:57

  Modified:    crypto   apr_md5.c
  Log:
  get rid of some warnings on platforms where no crypt_mutex_[un]lock()
  is used
  
  < apr_md5.c:688: warning: `crypt_mutex_lock' defined but not used
  < apr_md5.c:693: warning: `crypt_mutex_unlock' defined but not used
  
  submitted by:   Andre' Malo
  
  Revision  Changes    Path
  1.7       +2 -1      apr-util/crypto/apr_md5.c
  
  Index: apr_md5.c
  ===================================================================
  RCS file: /home/cvs/apr-util/crypto/apr_md5.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- apr_md5.c	28 May 2003 04:45:46 -0000	1.6
  +++ apr_md5.c	2 Jun 2003 13:47:57 -0000	1.7
  @@ -676,7 +676,8 @@
   }
   
   #if !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
  -#if defined(APU_CRYPT_THREADSAFE) || !APR_HAS_THREADS
  +#if defined(APU_CRYPT_THREADSAFE) || !APR_HAS_THREADS || \
  +    defined(CRYPT_R_CRYPTD) || defined(CRYPT_R_STRUCT_CRYPT_DATA)
   
   #define crypt_mutex_lock()
   #define crypt_mutex_unlock()
  
  
  

Mime
View raw message