diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-07 18:54:56 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-07 18:54:56 +0000 |
commit | 73c525e6e2dbcf452c2e78e44a63678f2b2068ea (patch) | |
tree | f9408ad7864dc1683b929f25a692213b22442992 /channels/chan_h323.c | |
parent | 3cd1c6869dcb5f1d85a602c7b53a33437ceb0d32 (diff) |
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
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; |