summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2012-07-11 02:06:05 +0000
committerMatthew Jordan <mjordan@digium.com>2012-07-11 02:06:05 +0000
commit9bc2127d7b3ae5c585235eda503621007c2495ab (patch)
treec423baeac7a96f88a3f06e54f3ca454350a1cab5 /channels
parent2ffae5745d6d68f1599f4dfbf0ead131cf5acc32 (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/sig_analog.c3
-rw-r--r--channels/sig_pri.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/channels/sig_analog.c b/channels/sig_analog.c
index e84bbc6f8..eef043676 100644
--- a/channels/sig_analog.c
+++ b/channels/sig_analog.c
@@ -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
diff --git a/channels/sig_pri.c b/channels/sig_pri.c
index 248999073..f6d7b0867 100644
--- a/channels/sig_pri.c
+++ b/channels/sig_pri.c
@@ -56,6 +56,10 @@
#error please update libpri
#endif
+/*** DOCUMENTATION
+ ***/
+
+
/* define this to send PRI user-user information elements */
#undef SUPPORT_USERUSER