diff options
author | Ruediger Pluem <rpluem@apache.org> | 2007-05-04 11:11:26 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2007-05-04 11:11:26 +0000 |
commit | 56acf588e4e48022ccc498444bcec9cf6ca997fb (patch) | |
tree | f143cebbec8ff58553063a43b319db0ccb4984de /include/util_cfgtree.h | |
parent | 542aaff5f0bf77ab4ae97192b66862ead7387d1d (diff) | |
download | httpd-56acf588e4e48022ccc498444bcec9cf6ca997fb.tar.gz |
* Add extern "C" linkage to several headers to make it easier to use
them in C++ code.
PR: 42286
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@535169 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_cfgtree.h')
-rw-r--r-- | include/util_cfgtree.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/util_cfgtree.h b/include/util_cfgtree.h index 78df416d2b..58673f6e01 100644 --- a/include/util_cfgtree.h +++ b/include/util_cfgtree.h @@ -28,6 +28,10 @@ #include "ap_config.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct ap_directive_t ap_directive_t; /** @@ -83,5 +87,9 @@ AP_DECLARE_DATA extern ap_directive_t *ap_conftree; ap_directive_t *ap_add_node(ap_directive_t **parent, ap_directive_t *current, ap_directive_t *toadd, int child); +#ifdef __cplusplus +} +#endif + #endif /** @} */ |