You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by st...@covalent.net on 2002/03/28 22:33:52 UTC

[PATCH] elminate warning in http_config.h

when building with -Werror -Wall it seems http_config.h bjorks my module 
build.  This patch should fix it - any objections?

sterling


Index: include/http_config.h
===================================================================
RCS file: /home/cvspublic/httpd-2.0/include/http_config.h,v
retrieving revision 1.95
diff -u -r1.95 http_config.h
--- include/http_config.h	15 Mar 2002 07:37:21 -0000	1.95
+++ include/http_config.h	28 Mar 2002 21:30:02 -0000
@@ -184,7 +184,7 @@
 
 #else /* AP_HAVE_DESIGNATED_INITIALIZER */
 
-typedef const char *(*cmd_func) ();
+typedef const char *(*cmd_func) (void);
 
 # define AP_NO_ARGS  func
 # define AP_RAW_ARGS func