httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r953216 - in /httpd/httpd/trunk/modules/lua: lua_request.c lua_request.h
Date Thu, 10 Jun 2010 04:42:53 GMT
Author: wrowe
Date: Thu Jun 10 04:42:52 2010
New Revision: 953216

URL: http://svn.apache.org/viewvc?rev=953216&view=rev
Log:
Mop up more than a dozen const'ness faults

Modified:
    httpd/httpd/trunk/modules/lua/lua_request.c
    httpd/httpd/trunk/modules/lua/lua_request.h

Modified: httpd/httpd/trunk/modules/lua/lua_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.c?rev=953216&r1=953215&r2=953216&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_request.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_request.c Thu Jun 10 04:42:52 2010
@@ -504,7 +504,7 @@ static const struct luaL_Reg server_meth
 };
 
 
-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));
     rft->fun = fun;

Modified: httpd/httpd/trunk/modules/lua/lua_request.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_request.h?rev=953216&r1=953215&r2=953216&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_request.h (original)
+++ httpd/httpd/trunk/modules/lua/lua_request.h Thu Jun 10 04:42:52 2010
@@ -33,7 +33,7 @@ AP_LUA_DECLARE(void) ap_lua_push_request
 
 typedef struct
 {
-    void *fun;
+    const void *fun;
     int type;
 } req_fun_t;
 



Mime
View raw message