PR:
Obtained from:
Submitted by:
Reviewed by:
Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT
names for linkage (API_, CORE_, and MODULE_).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/trunk@57808 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/hooks/ap_hooks.c b/hooks/ap_hooks.c
index fc132df..cd07e82 100644
--- a/hooks/ap_hooks.c
+++ b/hooks/ap_hooks.c
@@ -6,9 +6,9 @@
#define ap_palloc(pool,size) malloc(size)
#endif
-API_EXPORT_VAR ap_pool_t *ap_global_hook_pool = NULL;
-API_EXPORT_VAR int ap_debug_module_hooks = FALSE;
-API_EXPORT_VAR const char *ap_debug_module_name = NULL;
+API_VAR_EXPORT ap_pool_t *ap_global_hook_pool = NULL;
+API_VAR_EXPORT int ap_debug_module_hooks = FALSE;
+API_VAR_EXPORT const char *ap_debug_module_name = NULL;
/* NB: This must echo the LINK_##name structure */
typedef struct
diff --git a/hooks/apr_hooks.c b/hooks/apr_hooks.c
index fc132df..cd07e82 100644
--- a/hooks/apr_hooks.c
+++ b/hooks/apr_hooks.c
@@ -6,9 +6,9 @@
#define ap_palloc(pool,size) malloc(size)
#endif
-API_EXPORT_VAR ap_pool_t *ap_global_hook_pool = NULL;
-API_EXPORT_VAR int ap_debug_module_hooks = FALSE;
-API_EXPORT_VAR const char *ap_debug_module_name = NULL;
+API_VAR_EXPORT ap_pool_t *ap_global_hook_pool = NULL;
+API_VAR_EXPORT int ap_debug_module_hooks = FALSE;
+API_VAR_EXPORT const char *ap_debug_module_name = NULL;
/* NB: This must echo the LINK_##name structure */
typedef struct
diff --git a/include/ap_hooks.h b/include/ap_hooks.h
index d2e5c3a..db37b0e 100644
--- a/include/ap_hooks.h
+++ b/include/ap_hooks.h
@@ -174,9 +174,9 @@
#define AP_HOOK_LAST 20
#define AP_HOOK_REALLY_LAST 30
-extern API_EXPORT_VAR ap_pool_t *ap_global_hook_pool;
-extern API_EXPORT_VAR int ap_debug_module_hooks;
-extern API_EXPORT_VAR const char *ap_debug_module_name;
+extern API_VAR_EXPORT ap_pool_t *ap_global_hook_pool;
+extern API_VAR_EXPORT int ap_debug_module_hooks;
+extern API_VAR_EXPORT const char *ap_debug_module_name;
API_EXPORT(void) ap_hook_sort_register(const char *szHookName,
ap_array_header_t **aHooks);
diff --git a/include/apr_hooks.h b/include/apr_hooks.h
index d2e5c3a..db37b0e 100644
--- a/include/apr_hooks.h
+++ b/include/apr_hooks.h
@@ -174,9 +174,9 @@
#define AP_HOOK_LAST 20
#define AP_HOOK_REALLY_LAST 30
-extern API_EXPORT_VAR ap_pool_t *ap_global_hook_pool;
-extern API_EXPORT_VAR int ap_debug_module_hooks;
-extern API_EXPORT_VAR const char *ap_debug_module_name;
+extern API_VAR_EXPORT ap_pool_t *ap_global_hook_pool;
+extern API_VAR_EXPORT int ap_debug_module_hooks;
+extern API_VAR_EXPORT const char *ap_debug_module_name;
API_EXPORT(void) ap_hook_sort_register(const char *szHookName,
ap_array_header_t **aHooks);
diff --git a/src/hooks/ap_hooks.c b/src/hooks/ap_hooks.c
index fc132df..cd07e82 100644
--- a/src/hooks/ap_hooks.c
+++ b/src/hooks/ap_hooks.c
@@ -6,9 +6,9 @@
#define ap_palloc(pool,size) malloc(size)
#endif
-API_EXPORT_VAR ap_pool_t *ap_global_hook_pool = NULL;
-API_EXPORT_VAR int ap_debug_module_hooks = FALSE;
-API_EXPORT_VAR const char *ap_debug_module_name = NULL;
+API_VAR_EXPORT ap_pool_t *ap_global_hook_pool = NULL;
+API_VAR_EXPORT int ap_debug_module_hooks = FALSE;
+API_VAR_EXPORT const char *ap_debug_module_name = NULL;
/* NB: This must echo the LINK_##name structure */
typedef struct