hunk 2: optional functions are usually declared static.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1482170 13f79535-47bb-0310-9956-
ffa450edef68
x->first = name;
}
else {
+ const char **elt;
if (!x->array) {
x->array = apr_array_make(x->pool, 4, sizeof(char *));
}
- const char **elt = apr_array_push(x->array);
+ elt = apr_array_push(x->array);
*elt = name;
}
while (*val == ',') {
/**
* Remove all headers referred to by the Connection header.
*/
-PROXY_DECLARE(int) ap_proxy_clear_connection(request_rec *r,
- apr_table_t *headers)
+static int ap_proxy_clear_connection(request_rec *r, apr_table_t *headers)
{
const char **name;
header_connection x;