You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1998/03/17 19:54:59 UTC
cvs commit: apache-1.3/src/modules/experimental mod_mmap_static.c
dgaudet 98/03/17 10:54:59
Modified: src/modules/experimental mod_mmap_static.c
Log:
fix after static stuff
Revision Changes Path
1.4 +4 -2 apache-1.3/src/modules/experimental/mod_mmap_static.c
Index: mod_mmap_static.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/experimental/mod_mmap_static.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mod_mmap_static.c 1998/03/13 19:20:19 1.3
+++ mod_mmap_static.c 1998/03/17 18:54:58 1.4
@@ -109,11 +109,14 @@
#include <string.h>
#include <sys/mman.h>
+#define CORE_PRIVATE
+
#include "httpd.h"
#include "http_config.h"
#include "http_log.h"
#include "http_protocol.h"
#include "http_request.h"
+#include "http_core.h"
module MODULE_VAR_EXPORT mmap_static_module;
@@ -265,7 +268,6 @@
/* If it's one of ours, fill in r->finfo now to avoid extra stat()... this is a
* bit of a kludge, because we really want to run after core_translate runs.
*/
-extern int core_translate(request_rec *r);
static int mmap_static_xlat(request_rec *r)
{
@@ -275,7 +277,7 @@
int res;
/* we require other modules to first set up a filename */
- res = core_translate(r);
+ res = core_module.translate_handler(r);
if (res == DECLINED || !r->filename) {
return res;
}