tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/common jk_uri_worker_map.c jk_uri_worker_map.h
Date Thu, 13 Jan 2005 07:20:57 GMT
mturk       2005/01/12 23:20:56

  Modified:    jk/native/common jk_uri_worker_map.c jk_uri_worker_map.h
  Log:
  Remove forward declarations for static functions.
  
  Revision  Changes    Path
  1.41      +17 -17    jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.c
  
  Index: jk_uri_worker_map.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- jk_uri_worker_map.c	17 Dec 2004 14:58:37 -0000	1.40
  +++ jk_uri_worker_map.c	13 Jan 2005 07:20:56 -0000	1.41
  @@ -206,6 +206,22 @@
       return JK_FALSE;
   }
   
  +static int uri_worker_map_close(jk_uri_worker_map_t *uw_map, jk_logger_t *l)
  +{
  +    JK_TRACE_ENTER(l);
  +
  +    if (uw_map) {
  +        jk_close_pool(&uw_map->p);
  +        jk_close_pool(&uw_map->tp);
  +        JK_TRACE_EXIT(l);
  +        return JK_TRUE;
  +    }
  +
  +    JK_LOG_NULL_PARAMS(l);
  +    JK_TRACE_EXIT(l);
  +    return JK_FALSE;
  +}
  +
   int uri_worker_map_free(jk_uri_worker_map_t **uw_map, jk_logger_t *l)
   {
       JK_TRACE_ENTER(l);
  @@ -508,22 +524,6 @@
           --s;
       }
       return (s - str);
  -}
  -
  -static int uri_worker_map_close(jk_uri_worker_map_t *uw_map, jk_logger_t *l)
  -{
  -    JK_TRACE_ENTER(l);
  -
  -    if (uw_map) {
  -        jk_close_pool(&uw_map->p);
  -        jk_close_pool(&uw_map->tp);
  -        JK_TRACE_EXIT(l);
  -        return JK_TRUE;
  -    }
  -
  -    JK_LOG_NULL_PARAMS(l);
  -    JK_TRACE_EXIT(l);
  -    return JK_FALSE;
   }
   
   static void jk_no2slash(char *name)
  
  
  
  1.12      +1 -5      jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.h
  
  Index: jk_uri_worker_map.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_uri_worker_map.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- jk_uri_worker_map.h	8 Nov 2004 13:33:55 -0000	1.11
  +++ jk_uri_worker_map.h	13 Jan 2005 07:20:56 -0000	1.12
  @@ -47,10 +47,6 @@
   int uri_worker_map_add(jk_uri_worker_map_t *uw_map,
                          char *puri, char *pworker, jk_logger_t *l);
   
  -int uri_worker_map_close(jk_uri_worker_map_t *uw_map, jk_logger_t *l);
  -
  -void jk_no2slash(char *name);
  -
   char *map_uri_to_worker(jk_uri_worker_map_t *uw_map,
                           char *uri, jk_logger_t *l);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message