diff --git a/pbx/ael/ael.tab.c b/pbx/ael/ael.tab.c
index 29e85acf3d44889eeb5012dafc7ae125b2534cfb..8268dd6e21aa97f4787f5ab994129e222842ad9c 100644
--- a/pbx/ael/ael.tab.c
+++ b/pbx/ael/ael.tab.c
@@ -3366,7 +3366,6 @@ void yyerror(YYLTYPE *locp, struct parse_io *parseio,  char const *s)
 static struct pval *npval(pvaltype type, int first_line, int last_line,
 	int first_column, int last_column)
 {
-	extern char *my_file;
 	pval *z = calloc(1, sizeof(struct pval));
 	z->type = type;
 	z->startline = first_line;
diff --git a/pbx/ael/ael.y b/pbx/ael/ael.y
index 103a7e8e457d5b86b5f11683680804bfcd61857d..1d309cd76e983d45cf26925db956300675efe2ff 100644
--- a/pbx/ael/ael.y
+++ b/pbx/ael/ael.y
@@ -830,7 +830,6 @@ void yyerror(YYLTYPE *locp, struct parse_io *parseio,  char const *s)
 static struct pval *npval(pvaltype type, int first_line, int last_line,
 	int first_column, int last_column)
 {
-	extern char *my_file;
 	pval *z = calloc(1, sizeof(struct pval));
 	z->type = type;
 	z->startline = first_line;