diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 0fd06414bdc5b2f151273f70ec98e67f726d255f..0110c5e37e30386e53c47a9136ca405d9ce6380c 100644 --- a/pbx/pbx_ael.c +++ b/pbx/pbx_ael.c @@ -59,7 +59,10 @@ static char expr_output[2096]; static char *config = "extensions.ael"; static char *registrar = "pbx_ael"; -static int errs, warns, notes; +static int errs, warns; +#ifndef STANDALONE_AEL +static int notes; +#endif #ifndef AAL_ARGCHECK /* for the time being, short circuit all the AAL related structures @@ -2089,6 +2092,7 @@ void check_switch_expr(pval *item, struct argapp *apps) #endif } +#ifndef STANDALONE_AEL static void check_context_names(void) { pval *i,*j; @@ -2107,6 +2111,7 @@ static void check_context_names(void) } } } +#endif static void check_abstract_reference(pval *abstract_context) {