]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix validation errors when producing documentation using default build script
authorMatthew Jordan <mjordan@digium.com>
Wed, 11 Jul 2012 02:06:05 +0000 (02:06 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 11 Jul 2012 02:06:05 +0000 (02:06 +0000)
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

channels/sig_analog.c
channels/sig_pri.c
main/asterisk.c
main/cdr.c
main/channel.c
main/loader.c
main/logger.c

index e84bbc6f8c2927ab20802c09f3579a0408f20fa5..eef0436769d2750f0b4eba3eb1ff9dae49266547 100644 (file)
@@ -46,6 +46,9 @@
 
 #include "sig_analog.h"
 
+/*** DOCUMENTATION
+ ***/
+
 /*! \note
  * Define if you want to check the hook state for an FXO (FXS signalled) interface
  * before dialing on it.  Certain FXO interfaces always think they're out of
index 248999073a326409385fa0bc818356b90f10ef27..f6d7b0867e75bfc1067d15691e40a9c39ffa8d8f 100644 (file)
 #error please update libpri
 #endif
 
+/*** DOCUMENTATION
+ ***/
+
+
 /* define this to send PRI user-user information elements */
 #undef SUPPORT_USERUSER
 
index 0a801c1a6663d9029dafcfaffb55d9f6732312ec..08aaa5764cb9c5e52260c08b6c77d99cb84a0dfe 100644 (file)
@@ -154,6 +154,9 @@ int daemon(int, int);  /* defined in libresolv of all places */
 
 #include "../defaults.h"
 
+/*** DOCUMENTATION
+ ***/
+
 #ifndef AF_LOCAL
 #define AF_LOCAL AF_UNIX
 #define PF_LOCAL PF_UNIX
index 295108d76bae40abb0e9ab4357fc0a6f0000f9b8..053c86b9ee3a55ecbaff3bd218be4dc1b97fbbc1 100644 (file)
@@ -55,6 +55,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/stringfields.h"
 #include "asterisk/data.h"
 
+/*** DOCUMENTATION
+ ***/
+
 /*! Default AMA flag for billing records (CDR's) */
 int ast_default_amaflags = AST_CDR_DOCUMENTATION;
 char ast_default_accountcode[AST_MAX_ACCOUNT_CODE];
index 6b1f3063c8aab22ca92256b69c1532997de9e3ad..9abd9e7e021638350975e13507d029b7085c3d23 100644 (file)
@@ -73,6 +73,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/data.h"
 #include "asterisk/channel_internal.h"
 
+/*** DOCUMENTATION
+ ***/
+
 #ifdef HAVE_EPOLL
 #include <sys/epoll.h>
 #endif
index b95213735434b8671aa3fbd2394c3892cb830264..d7150921957878e245c6896c3442c5fe6a33dc8a 100644 (file)
@@ -60,6 +60,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/md5.h"
 #include "asterisk/utils.h"
 
+/*** DOCUMENTATION
+ ***/
+
 #ifndef RTLD_NOW
 #define RTLD_NOW 0
 #endif
index 6d6227bfc4b10731f4bd3a1f108eb92386dbc93c..515e3447fe3ffe95b85bf0c4fb0102fe4ede43ea 100644 (file)
@@ -69,6 +69,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #  endif
 #endif
 
+/*** DOCUMENTATION
+ ***/
+
 static char dateformat[256] = "%b %e %T";              /* Original Asterisk Format */
 
 static char queue_log_name[256] = QUEUELOG;