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_mt.h jk_shm.h
Date Mon, 11 Apr 2005 06:36:02 GMT
mturk       2005/04/10 23:36:02

  Modified:    jk/native/common jk_mt.h jk_shm.h
  Log:
  Fix 'function declaration isn't a prototype compile' warnings.
  
  Revision  Changes    Path
  1.18      +2 -2      jakarta-tomcat-connectors/jk/native/common/jk_mt.h
  
  Index: jk_mt.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_mt.h,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- jk_mt.h	17 Feb 2005 08:48:14 -0000	1.17
  +++ jk_mt.h	11 Apr 2005 06:36:02 -0000	1.18
  @@ -78,7 +78,7 @@
   #define JK_LEAVE_CS(x, rc)\
               if(pthread_mutex_unlock(x))     rc = JK_FALSE; else rc = JK_TRUE
   
  -int jk_gettid();
  +int jk_gettid(void);
   #endif /* WIN32 */
   
   #else /* !_MT_CODE */
  
  
  
  1.18      +8 -8      jakarta-tomcat-connectors/jk/native/common/jk_shm.h
  
  Index: jk_shm.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_shm.h,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- jk_shm.h	28 Mar 2005 06:27:38 -0000	1.17
  +++ jk_shm.h	11 Apr 2005 06:36:02 -0000	1.18
  @@ -88,7 +88,7 @@
   };
   typedef struct jk_shm_worker jk_shm_worker_t;
   
  -const char *jk_shm_name();
  +const char *jk_shm_name(void);
   
   /* Open the shared memory creating file if needed
    */
  @@ -96,7 +96,7 @@
   
   /* Close the shared memory
    */
  -void jk_shm_close();
  +void jk_shm_close(void);
   
   /* Attach the shared memory in child process.
    * File has to be opened in parent.
  @@ -115,7 +115,7 @@
   
   /* Return workers.properties last modified time
    */
  -time_t jk_shm_get_workers_time();
  +time_t jk_shm_get_workers_time(void);
   
   /* Set workers.properties last modified time
    */
  @@ -124,21 +124,21 @@
   /* Check if the shared memory has been modified
    * by some other process.
    */
  -int jk_shm_is_modified();
  +int jk_shm_is_modified(void);
   
   /* Synchronize access and modification time.
    * This function should be called when the shared memory
    * is modified and after we update the config acording
    * to the current shared memory data.
    */
  -void jk_shm_sync_access_time();
  +void jk_shm_sync_access_time(void);
   
   
   /* Lock shared memory for thread safe access */
  -int jk_shm_lock();
  +int jk_shm_lock(void);
   
   /* Unlock shared memory for thread safe access */
  -int jk_shm_unlock();
  +int jk_shm_unlock(void);
   
   
   #ifdef __cplusplus
  
  
  

---------------------------------------------------------------------
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