rbb 01/02/22 09:46:50
Modified: modules/experimental mod_optional_fn_export.h
modules/filters mod_include.h
include apr_optional.h
Log:
Remove a semicolon from a macro. This makes things a bit more readable,
and it makes this macro look like the rest of our macros.
Revision Changes Path
1.2 +1 -1 httpd-2.0/modules/experimental/mod_optional_fn_export.h
Index: mod_optional_fn_export.h
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_optional_fn_export.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -b -w -u -r1.1 -r1.2
--- mod_optional_fn_export.h 2001/01/27 17:50:45 1.1
+++ mod_optional_fn_export.h 2001/02/22 17:46:45 1.2
@@ -1,3 +1,3 @@
#include "apr_optional.h"
-APR_DECLARE_OPTIONAL_FN(int,TestOptionalFn,(const char *))
+APR_DECLARE_OPTIONAL_FN(int,TestOptionalFn,(const char *));
1.14 +3 -3 httpd-2.0/modules/filters/mod_include.h
Index: mod_include.h
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -b -w -u -r1.13 -r1.14
--- mod_include.h 2001/02/16 13:38:22 1.13
+++ mod_include.h 2001/02/22 17:46:48 1.14
@@ -200,13 +200,13 @@
APR_DECLARE_OPTIONAL_FN(void, ap_ssi_get_tag_and_value, (include_ctx_t *ctx,
char **tag,
char **tag_val,
- int dodecode))
+ int dodecode));
APR_DECLARE_OPTIONAL_FN(void, ap_ssi_parse_string, (request_rec *r,
const char *in,
char *out,
size_t length,
- int leave_name))
+ int leave_name));
APR_DECLARE_OPTIONAL_FN(void, ap_register_include_handler, (char *tag,
- include_handler
func))
+ include_handler
func));
#endif /* MOD_INCLUDE */
1.4 +1 -1 apr-util/include/apr_optional.h
Index: apr_optional.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_optional.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -b -w -u -r1.3 -r1.4
--- apr_optional.h 2001/02/10 14:17:08 1.3
+++ apr_optional.h 2001/02/22 17:46:49 1.4
@@ -79,7 +79,7 @@
* @param args The function arguments (including brackets)
*/
#define APR_DECLARE_OPTIONAL_FN(ret,name,args) \
-typedef ret APR_OPTIONAL_FN_TYPE(name) args;
+typedef ret APR_OPTIONAL_FN_TYPE(name) args
/* XXX: This doesn't belong here, then!
* Private function! DO NOT USE!