mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Mop up more than a dozen const'ness faults
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953216 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -504,7 +504,7 @@ static const struct luaL_Reg server_methods[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static req_fun_t *makefun(void *fun, int type, apr_pool_t *pool)
|
static req_fun_t *makefun(const void *fun, int type, apr_pool_t *pool)
|
||||||
{
|
{
|
||||||
req_fun_t *rft = apr_palloc(pool, sizeof(req_fun_t));
|
req_fun_t *rft = apr_palloc(pool, sizeof(req_fun_t));
|
||||||
rft->fun = fun;
|
rft->fun = fun;
|
||||||
|
@@ -33,7 +33,7 @@ AP_LUA_DECLARE(void) ap_lua_push_request(lua_State *L, request_rec *r);
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
void *fun;
|
const void *fun;
|
||||||
int type;
|
int type;
|
||||||
} req_fun_t;
|
} req_fun_t;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user