From: Daniel Gruno Date: Wed, 11 Apr 2012 16:48:49 +0000 (+0000) Subject: Fix a bad function declaration X-Git-Tag: 2.5.0-alpha~7200 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e87264bbaa1ce8a71a1c7eab4569f66092e50634;p=thirdparty%2Fapache%2Fhttpd.git Fix a bad function declaration git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1324862 13f79535-47bb-0310-9956-ffa450edef68 --- 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;