You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@ibm.net> on 2000/03/15 03:05:22 UTC
lame 2.0 patch to avoid -Wall warning on mod_echo.c
(must have been lost amidst all the "warning: function declaration
isn't a prototype" msgs from http_config.h)
Index: mod_echo.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/standard/mod_echo.c,v
retrieving revision 1.16
diff -u -r1.16 mod_echo.c
--- mod_echo.c 2000/01/28 18:02:19 1.16
+++ mod_echo.c 2000/03/15 02:04:53
@@ -58,7 +58,7 @@
{ NULL }
};
-static void register_hooks()
+static void register_hooks(void)
{
ap_hook_process_connection(process_echo_connection,NULL,NULL,HOOK_MIDDLE);
}
Re: lame 2.0 patch to avoid -Wall warning on mod_echo.c
Posted by David Reid <dr...@jetnet.co.uk>.
Done.
----- Original Message -----
From: "Jeff Trawick" <tr...@ibm.net>
To: <ne...@apache.org>
Sent: Wednesday, March 15, 2000 2:05 AM
Subject: lame 2.0 patch to avoid -Wall warning on mod_echo.c
> (must have been lost amidst all the "warning: function declaration
> isn't a prototype" msgs from http_config.h)
>
> Index: mod_echo.c
> ===================================================================
> RCS file: /cvs/apache/apache-2.0/src/modules/standard/mod_echo.c,v
> retrieving revision 1.16
> diff -u -r1.16 mod_echo.c
> --- mod_echo.c 2000/01/28 18:02:19 1.16
> +++ mod_echo.c 2000/03/15 02:04:53
> @@ -58,7 +58,7 @@
> { NULL }
> };
>
> -static void register_hooks()
> +static void register_hooks(void)
> {
>
ap_hook_process_connection(process_echo_connection,NULL,NULL,HOOK_MIDDLE);
> }
>
>