apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: apr/memory/unix apr_sms_trivial.c
Date Wed, 04 Jul 2001 20:27:22 GMT
dreid       01/07/04 13:27:22

  Modified:    memory/unix apr_sms_trivial.c
  Log:
  Sander pointed out that this is declared in the header file and it should
  be exported, so export it once again.
  
  Revision  Changes    Path
  1.12      +7 -6      apr/memory/unix/apr_sms_trivial.c
  
  Index: apr_sms_trivial.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_sms_trivial.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- apr_sms_trivial.c	2001/07/04 18:44:00	1.11
  +++ apr_sms_trivial.c	2001/07/04 20:27:22	1.12
  @@ -229,8 +229,9 @@
       char *endp;
   
       reqsize = APR_ALIGN_DEFAULT(reqsize);
  -    
  +
       new_mem = apr_sms_trivial_malloc(sms, reqsize);
  + 
       if (new_mem) {
           node = BLOCK_T((char *)mem - SIZEOF_NODE_T)->node;
   
  @@ -441,11 +442,11 @@
   }
   #endif /* APR_HAS_THREADS */
   
  -static apr_status_t apr_sms_trivial_create_ex(apr_sms_t **sms, 
  -                                              apr_sms_t *pms,
  -                                              apr_size_t min_alloc,
  -                                              apr_size_t min_free,
  -                                              apr_size_t max_free)
  +APR_DECLARE(apr_status_t) apr_sms_trivial_create_ex(apr_sms_t **sms, 
  +                                                    apr_sms_t *pms,
  +                                                    apr_size_t min_alloc,
  +                                                    apr_size_t min_free,
  +                                                    apr_size_t max_free)
   {
       apr_sms_t *new_sms;
       apr_sms_trivial_t *tms;
  
  
  

Mime
View raw message