diff options
author | Matthew Jordan <mjordan@digium.com> | 2012-07-11 02:06:05 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2012-07-11 02:06:05 +0000 |
commit | 9bc2127d7b3ae5c585235eda503621007c2495ab (patch) | |
tree | c423baeac7a96f88a3f06e54f3ca454350a1cab5 /main/asterisk.c | |
parent | 2ffae5745d6d68f1599f4dfbf0ead131cf5acc32 (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 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 0a801c1a6..08aaa5764 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -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 |