]> granicus.if.org Git - apache/commitdiff
A bit of declaration would help get this loading on Win32
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 16 Oct 2001 22:01:14 +0000 (22:01 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 16 Oct 2001 22:01:14 +0000 (22:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91510 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_mime_magic.c

index fcde0c7eb82f67ace1aff41069cf598320ecc249..564018e69c7b62bb2d285aea46e3c4e42ace00e2 100644 (file)
@@ -511,7 +511,7 @@ typedef struct {
  * configuration functions - called by Apache API routines
  */
 
-module mime_magic_module;
+module AP_MODULE_DECLARE_DATA mime_magic_module;
 
 static void *create_magic_server_config(apr_pool_t *p, server_rec *d)
 {
@@ -2493,7 +2493,7 @@ static void register_hooks(apr_pool_t *p)
  * Apache API module interface
  */
 
-module mime_magic_module =
+module AP_MODULE_DECLARE_DATA mime_magic_module =
 {
     STANDARD20_MODULE_STUFF,
     NULL,                      /* dir config creator */