aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/ael
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-07 18:54:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-07 18:54:56 +0000
commit73c525e6e2dbcf452c2e78e44a63678f2b2068ea (patch)
treef9408ad7864dc1683b929f25a692213b22442992 /pbx/ael
parent3cd1c6869dcb5f1d85a602c7b53a33437ceb0d32 (diff)
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
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"