From a6ef12cf14aa78030532a809dccd8460893436cf Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Wed, 11 Apr 2012 16:48:49 +0000 Subject: [PATCH] Fix a bad function declaration git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1324862 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/developer/modguide.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/manual/developer/modguide.xml b/docs/manual/developer/modguide.xml index b7a1a66b113..91f0fd8058c 100644 --- a/docs/manual/developer/modguide.xml +++ b/docs/manual/developer/modguide.xml @@ -1539,13 +1539,12 @@ or check out the rest of our documentation for further tips.
-const char *read_post_value(const char *key) 
+const char *read_post_value(const apr_array_header_t *fields, const char *key) 
 {
-    /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
-    const apr_array_header_t    *fields;
+    /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
     int                         i;
     apr_table_entry_t           *e = 0;
-    /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
+    /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
     e = (apr_table_entry_t *) fields->elts;
     for(i = 0; i < fields->nelts; i++) {
         if(!strcmp(e[i].key, key)) return e[i].val;
-- 
2.47.3