]> granicus.if.org Git - apache/commitdiff
More cleanup.
authorBen Laurie <ben@apache.org>
Sun, 20 May 2001 15:26:18 +0000 (15:26 +0000)
committerBen Laurie <ben@apache.org>
Sun, 20 May 2001 15:26:18 +0000 (15:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89179 13f79535-47bb-0310-9956-ffa450edef68

include/ap_config.h
modules/experimental/mod_optional_hook_export.c
modules/experimental/mod_optional_hook_export.h
modules/test/mod_optional_hook_export.c
modules/test/mod_optional_hook_export.h

index e961a903e4218bdc388353e1780e4dfe0450bfe0..a30990dbb5ae343c86464726fe27b5f3fe41cfaf 100644 (file)
 
 /**
  * Hook an optional hook. Unlike static hooks, this uses a macro instead of a
- * function
+ * function.
  */
 #define AP_OPTIONAL_HOOK(name,fn,pre,succ,order) \
         APR_OPTIONAL_HOOK(ap,name,fn,pre,succ,order)
index 9717a02fd1f352549a1159fd8c759ca9b76854f3..e4e3c6493dd9b2edda0891a9f5f5ddce6a7cd1c4 100644 (file)
@@ -57,9 +57,6 @@
 #include "mod_optional_hook_export.h"
 #include "http_protocol.h"
 
-/*APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ap,AP_MODULE,int,optional_hook_test,
-                                   (const char *szStr),
-                                   (szStr),OK,DECLINED)*/
 AP_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(int,optional_hook_test,(const char *szStr),
                                    (szStr),OK,DECLINED)
 
index 4e7f3f389134f15abe0dc57fcf048f099bd5aa81..e96418738b80aa5b32965235d23b12c2c4a7fd6d 100644 (file)
@@ -55,7 +55,7 @@
 #ifndef MOD_OPTIONAL_HOOK_EXPORT_H
 #define MOD_OPTOPNAL_HOOK_EXPORT_H
 
-#include "apr_optional_hooks.h"
+#include "ap_config.h"
 
 AP_DECLARE_HOOK(int,optional_hook_test,(const char *))
 
index 9717a02fd1f352549a1159fd8c759ca9b76854f3..e4e3c6493dd9b2edda0891a9f5f5ddce6a7cd1c4 100644 (file)
@@ -57,9 +57,6 @@
 #include "mod_optional_hook_export.h"
 #include "http_protocol.h"
 
-/*APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ap,AP_MODULE,int,optional_hook_test,
-                                   (const char *szStr),
-                                   (szStr),OK,DECLINED)*/
 AP_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(int,optional_hook_test,(const char *szStr),
                                    (szStr),OK,DECLINED)
 
index 4e7f3f389134f15abe0dc57fcf048f099bd5aa81..e96418738b80aa5b32965235d23b12c2c4a7fd6d 100644 (file)
@@ -55,7 +55,7 @@
 #ifndef MOD_OPTIONAL_HOOK_EXPORT_H
 #define MOD_OPTOPNAL_HOOK_EXPORT_H
 
-#include "apr_optional_hooks.h"
+#include "ap_config.h"
 
 AP_DECLARE_HOOK(int,optional_hook_test,(const char *))