httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <sterl...@covalent.net>
Subject [PATCH] elminate warning in http_config.h
Date Thu, 28 Mar 2002 21:33:52 GMT
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


Mime
View raw message