summaryrefslogtreecommitdiff
path: root/pbx/ael
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-06-07 18:54:56 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-06-07 18:54:56 +0000
commit472c1ca2827e9409abacce4dc281b6392fb3448e (patch)
treef9408ad7864dc1683b929f25a692213b22442992 /pbx/ael
parent739385e761c11cc18503efbe2f131e56e482de28 (diff)
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/ael')
-rw-r--r--pbx/ael/ael.flex5
-rw-r--r--pbx/ael/ael.tab.c5
-rw-r--r--pbx/ael/ael.y6
-rw-r--r--pbx/ael/ael_lex.c5
4 files changed, 19 insertions, 2 deletions
diff --git a/pbx/ael/ael.flex b/pbx/ael/ael.flex
index 82c43ec10..ad3530c98 100644
--- a/pbx/ael/ael.flex
+++ b/pbx/ael/ael.flex
@@ -56,11 +56,14 @@
%option bison-locations
%{
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "asterisk.h"
#include "asterisk/logger.h"
#include "ael/ael.tab.h"
#include "asterisk/ael_structs.h"
diff --git a/pbx/ael/ael.tab.c b/pbx/ael/ael.tab.c
index 999818cff..71e0f2643 100644
--- a/pbx/ael/ael.tab.c
+++ b/pbx/ael/ael.tab.c
@@ -174,9 +174,14 @@
* \brief Bison Grammar description of AEL2.
*
*/
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
#include "asterisk/logger.h"
#include "asterisk/ael_structs.h"
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y
index 1b129f80b..8ce3e7711 100644
--- a/pbx/ael/ael.y
+++ b/pbx/ael/ael.y
@@ -21,9 +21,15 @@
* \brief Bison Grammar description of AEL2.
*
*/
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
#include "asterisk/logger.h"
#include "asterisk/ael_structs.h"
diff --git a/pbx/ael/ael_lex.c b/pbx/ael/ael_lex.c
index 292c1d189..147f554b2 100644
--- a/pbx/ael/ael_lex.c
+++ b/pbx/ael/ael_lex.c
@@ -672,11 +672,14 @@ static yyconst flex_int16_t yy_chk[553] =
* bison-locations is probably not needed.
*/
#line 59 "ael.flex"
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include "asterisk.h"
#include "asterisk/logger.h"
#include "ael/ael.tab.h"
#include "asterisk/ael_structs.h"