Author: jim Date: Thu Aug 2 09:28:29 2007 New Revision: 562174 URL: http://svn.apache.org/viewvc?view=rev&rev=562174 Log: These are local functions; ensure we don't clobber things and handle compiler warnings about prototypes.
Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_status.c?view=diff&rev=562174&r1=562173&r2=562174 ============================================================================== --- tomcat/connectors/trunk/jk/native/common/jk_status.c (original) +++ tomcat/connectors/trunk/jk/native/common/jk_status.c Thu Aug 2 09:28:29 2007 @@ -733,7 +733,7 @@ return def; } -const char *status_cmd_text(int cmd) +static const char *status_cmd_text(int cmd) { return cmd_type[cmd]; } @@ -759,7 +759,7 @@ return JK_STATUS_CMD_UNKNOWN; } -const char *status_mime_text(int mime) +static const char *status_mime_text(int mime) { return mime_type[mime]; } Modified: tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c?view=diff&rev=562174&r1=562173&r2=562174 ============================================================================== --- tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c (original) +++ tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c Thu Aug 2 09:28:29 2007 @@ -276,7 +276,7 @@ * Delete all entries of a given source type */ -int uri_worker_map_clear(jk_uri_worker_map_t *uw_map, +static int uri_worker_map_clear(jk_uri_worker_map_t *uw_map, unsigned int source_type, jk_logger_t *l) { uri_worker_record_t *uwr = NULL; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]