From 9bc2127d7b3ae5c585235eda503621007c2495ab Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Wed, 11 Jul 2012 02:06:05 +0000 Subject: Fix validation errors when producing documentation using default build script The awk script parses out the first instance of the DOCUMENTATION tag that it finds within a file. If a file did not previously have a DOCUMENTATION tag but received one due to it having an AMI event, then the XML fragment associated with the AMI event was erroneously placed in the resulting XML file. Without the python scripts, these XML fragments will not validate. This patch adds DOCUMENTATION tags at the top of those files that did not previously have them to prevent the awk script from pulling AMI event documentation. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369910 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/channel.c') diff --git a/main/channel.c b/main/channel.c index 6b1f3063c..9abd9e7e0 100644 --- a/main/channel.c +++ b/main/channel.c @@ -73,6 +73,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/data.h" #include "asterisk/channel_internal.h" +/*** DOCUMENTATION + ***/ + #ifdef HAVE_EPOLL #include #endif -- cgit v1.2.3