mturk       2004/12/16 00:42:19

  Modified:    jk/native/common jk_worker.c jk_worker_list.h
  Log:
  Move the static variable from header to source file.
  
  Revision  Changes    Path
  1.24      +4 -1      jakarta-tomcat-connectors/jk/native/common/jk_worker.c
  
  Index: jk_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_worker.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- jk_worker.c       11 Nov 2004 19:11:56 -0000      1.23
  +++ jk_worker.c       16 Dec 2004 08:42:19 -0000      1.24
  @@ -35,6 +35,9 @@
                               unsigned num_of_workers,
                               jk_worker_env_t *we, jk_logger_t *l);
   
  +/* Global worker list */
  +static jk_map_t *worker_map;
  +
   int wc_open(jk_map_t *init_data, jk_worker_env_t *we, jk_logger_t *l)
   {
       char **worker_list = NULL;
  
  
  
  1.11      +1 -3      
jakarta-tomcat-connectors/jk/native/common/jk_worker_list.h
  
  Index: jk_worker_list.h
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_worker_list.h,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- jk_worker_list.h  8 Oct 2004 07:50:40 -0000       1.10
  +++ jk_worker_list.h  16 Dec 2004 08:42:19 -0000      1.11
  @@ -54,8 +54,6 @@
   };
   typedef struct worker_factory_record worker_factory_record_t;
   
  -static jk_map_t *worker_map;
  -
   static worker_factory_record_t worker_factories[] = {
       /*
        * AJPv12 worker, this is the stable worker.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to