mturk 2005/04/10 23:51:36
Modified: jk/native/common jk_ajp_common.c jk_status.c
Log:
Fix compile time warnings about missing declarations.
Revision Changes Path
1.96 +7 -7
jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
Index: jk_ajp_common.c
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- jk_ajp_common.c 26 Mar 2005 09:28:56 -0000 1.95
+++ jk_ajp_common.c 11 Apr 2005 06:51:36 -0000 1.96
@@ -36,7 +36,7 @@
#endif
/* Sleep for 100ms */
-static void jk_sleep_def()
+static void jk_sleep_def(void)
{
#ifdef OS2
DosSleep(100);
@@ -747,7 +747,7 @@
/*
* Wait input event on ajp_endpoint for timeout ms
*/
-int ajp_is_input_event(ajp_endpoint_t * ae, int timeout, jk_logger_t *l)
+static int ajp_is_input_event(ajp_endpoint_t * ae, int timeout, jk_logger_t
*l)
{
fd_set rset;
fd_set eset;
@@ -777,7 +777,7 @@
/*
* Handle the CPING/CPONG initial query
*/
-int ajp_handle_cping_cpong(ajp_endpoint_t * ae, int timeout, jk_logger_t *l)
+static int ajp_handle_cping_cpong(ajp_endpoint_t * ae, int timeout,
jk_logger_t *l)
{
int cmd;
jk_msg_buf_t *msg;
@@ -1595,9 +1595,9 @@
* We serve here the request, using AJP13/AJP14 (e->proto)
*
*/
-int JK_METHOD ajp_service(jk_endpoint_t *e,
- jk_ws_service_t *s,
- jk_logger_t *l, int *is_error)
+static int JK_METHOD ajp_service(jk_endpoint_t *e,
+ jk_ws_service_t *s,
+ jk_logger_t *l, int *is_error)
{
int i, err;
ajp_operation_t oper;
1.36 +3 -3 jakarta-tomcat-connectors/jk/native/common/jk_status.c
Index: jk_status.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_status.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- jk_status.c 26 Mar 2005 14:20:48 -0000 1.35
+++ jk_status.c 11 Apr 2005 06:51:36 -0000 1.36
@@ -129,7 +129,7 @@
}
#endif
-int jk_printf(jk_ws_service_t *s, const char *fmt, ...)
+static int jk_printf(jk_ws_service_t *s, const char *fmt, ...)
{
int rc = 0;
va_list args;
@@ -166,7 +166,7 @@
}
/* Actually APR's apr_strfsize */
-char *status_strfsize(size_t size, char *buf)
+static char *status_strfsize(size_t size, char *buf)
{
const char ord[] = "KMGTPE";
const char *o = ord;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]