]> granicus.if.org Git - apache/commitdiff
Use a proper prototype for ap_show_directives() and ap_show_modules() so
authorJeff Trawick <trawick@apache.org>
Sat, 3 Mar 2001 02:13:49 +0000 (02:13 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 3 Mar 2001 02:13:49 +0000 (02:13 +0000)
that they match their prototypes in http_config.h.

PR: 6980

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88445 13f79535-47bb-0310-9956-ffa450edef68

server/config.c

index c5a2bd2e87934b8bebbdf41fa18a11a7a07f3bb6..d6c0284742b3b4658876a0ed1f6da98c34feb72d 100644 (file)
@@ -1702,7 +1702,7 @@ static void show_overrides(const command_rec *pc, module *pm)
  * the directive arguments, in what module they are handled, and in
  * what parts of the configuration they are allowed.  Used for httpd -h.
  */
-AP_DECLARE(void) ap_show_directives()
+AP_DECLARE(void) ap_show_directives(void)
 {
     const command_rec *pc;
     int n;
@@ -1717,7 +1717,7 @@ AP_DECLARE(void) ap_show_directives()
 }
 
 /* Show the preloaded module names.  Used for httpd -l. */
-AP_DECLARE(void) ap_show_modules()
+AP_DECLARE(void) ap_show_modules(void)
 {
     int n;