summaryrefslogtreecommitdiffstats
path: root/modules/echo/mod_echo.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-10-16 08:05:15 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-10-16 08:05:15 +0200
commitd6490633ebbf0573107211f2cbd7517dad37a07e (patch)
treea32c2d84488b7197c9853faafe248ed6f4903ca5 /modules/echo/mod_echo.c
parent Cleaning up a _Security_ concern - Please Review Carefully (diff)
downloadapache2-d6490633ebbf0573107211f2cbd7517dad37a07e.tar.xz
apache2-d6490633ebbf0573107211f2cbd7517dad37a07e.zip
Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86609 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/echo/mod_echo.c')
-rw-r--r--modules/echo/mod_echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/echo/mod_echo.c b/modules/echo/mod_echo.c
index 0c6c4bbb13..c6d960bbeb 100644
--- a/modules/echo/mod_echo.c
+++ b/modules/echo/mod_echo.c
@@ -62,7 +62,7 @@
#include "http_config.h"
#include "http_connection.h"
-API_VAR_EXPORT module echo_module;
+AP_DECLARE_DATA module echo_module;
typedef struct
{
@@ -122,7 +122,7 @@ static void register_hooks(void)
ap_hook_process_connection(process_echo_connection,NULL,NULL,AP_HOOK_MIDDLE);
}
-API_VAR_EXPORT module echo_module = {
+AP_DECLARE_DATA module echo_module = {
STANDARD20_MODULE_STUFF,
NULL, /* create per-directory config structure */
NULL, /* merge per-directory config structures */