[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    cvs commit: apr-util/ldap apr_ldap_init.c apr_ldap_url.c
From:       jorton () apache ! org
Date:       2004-08-26 10:18:15
Message-ID: 20040826101815.23195.qmail () minotaur ! apache ! org
[Download RAW message or body]

jorton      2004/08/26 03:18:15

  Modified:    include  apr_ldap_init.h
               ldap     apr_ldap_init.c apr_ldap_url.c
  Log:
  Fix compiler warnings:
  
  * include/apr_ldap_init.h (apr_ldap_ssl_deinit): Fix prototype.
  
  * ldap/apr_ldap_init.c (apr_ldap_ssl_deinit): Likewise.
  
  * ldap/apr_ldap_url.c: Include stdlib.h.
  
  Revision  Changes    Path
  1.4       +1 -1      apr-util/include/apr_ldap_init.h
  
  Index: apr_ldap_init.h
  ===================================================================
  RCS file: /home/cvs/apr-util/include/apr_ldap_init.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -d -w -u -r1.3 -r1.4
  --- apr_ldap_init.h	5 Aug 2004 16:35:15 -0000	1.3
  +++ apr_ldap_init.h	26 Aug 2004 10:18:15 -0000	1.4
  @@ -34,7 +34,7 @@
                                      int cert_file_type,
                                      apr_ldap_err_t **result_err);
   
  -APU_DECLARE(int) apr_ldap_ssl_deinit();
  +APU_DECLARE(int) apr_ldap_ssl_deinit(void);
   
   APU_DECLARE(int) apr_ldap_init(apr_pool_t *pool,
                                  LDAP **ldap,
  
  
  
  1.9       +1 -1      apr-util/ldap/apr_ldap_init.c
  
  Index: apr_ldap_init.c
  ===================================================================
  RCS file: /home/cvs/apr-util/ldap/apr_ldap_init.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -d -w -u -r1.8 -r1.9
  --- apr_ldap_init.c	23 Aug 2004 21:41:12 -0000	1.8
  +++ apr_ldap_init.c	26 Aug 2004 10:18:15 -0000	1.9
  @@ -167,7 +167,7 @@
    * @todo currently we do not check whether apr_ldap_ssl_init()
    * has been called first - should we?
    */
  -APU_DECLARE(int) apr_ldap_ssl_deinit() {
  +APU_DECLARE(int) apr_ldap_ssl_deinit(void) {
   
   #if APR_HAS_LDAP_SSL && APR_HAS_NOVELL_LDAPSDK
       ldapssl_client_deinit();
  
  
  
  1.10      +3 -0      apr-util/ldap/apr_ldap_url.c
  
  Index: apr_ldap_url.c
  ===================================================================
  RCS file: /home/cvs/apr-util/ldap/apr_ldap_url.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -d -w -u -r1.9 -r1.10
  --- apr_ldap_url.c	9 Aug 2004 17:49:01 -0000	1.9
  +++ apr_ldap_url.c	26 Aug 2004 10:18:15 -0000	1.10
  @@ -73,6 +73,9 @@
   
   #if APR_HAS_LDAP
   
  +#if APR_HAVE_STDLIB_H
  +#include <stdlib.h>
  +#endif
   
   #include "apu.h"
   #include "apr_pools.h"
  
  
  
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic