mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
fix "lua_vmprep.c:355:17: warning: no previous prototype for ‘copy_vm_spec’ [-Wmissing-prototypes]"
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369793 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -352,7 +352,7 @@ static apr_status_t vm_construct(lua_State **vm, void *params, apr_pool_t *lifec
|
||||
return APR_SUCCESS;
|
||||
}
|
||||
|
||||
ap_lua_vm_spec* copy_vm_spec(apr_pool_t* pool, ap_lua_vm_spec* spec)
|
||||
static ap_lua_vm_spec* copy_vm_spec(apr_pool_t* pool, ap_lua_vm_spec* spec)
|
||||
{
|
||||
ap_lua_vm_spec* copied_spec = apr_pcalloc(pool, sizeof(ap_lua_vm_spec));
|
||||
copied_spec->bytecode_len = spec->bytecode_len;
|
||||
|
Reference in New Issue
Block a user