diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-06-07 18:54:56 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-06-07 18:54:56 +0000 |
commit | 472c1ca2827e9409abacce4dc281b6392fb3448e (patch) | |
tree | f9408ad7864dc1683b929f25a692213b22442992 /channels/chan_h323.c | |
parent | 739385e761c11cc18503efbe2f131e56e482de28 (diff) |
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r-- | channels/chan_h323.c | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c index a252f4e64..36c0582b8 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -37,6 +37,18 @@ <depend>h323</depend> ***/ +#ifdef __cplusplus +extern "C" { +#endif + +#include "asterisk.h" + +ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + +#ifdef __cplusplus +} +#endif + #include <sys/socket.h> #include <sys/signal.h> #include <sys/param.h> @@ -57,14 +69,11 @@ #include <string.h> #include <errno.h> #include <fcntl.h> + #ifdef __cplusplus extern "C" { #endif -#include "asterisk.h" - -ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - #include "asterisk/lock.h" #include "asterisk/logger.h" #include "asterisk/channel.h" @@ -84,9 +93,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/causes.h" #include "asterisk/stringfields.h" #include "asterisk/abstract_jb.h" + #ifdef __cplusplus } #endif + #include "h323/chan_h323.h" send_digit_cb on_send_digit; |