summaryrefslogtreecommitdiff
path: root/res/ael/ael.y
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-09-27 00:06:06 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-09-27 00:06:06 +0000
commit5cbba2923c2c57d4c17860b6392c5e382127863d (patch)
tree084b7ec0d8ea080973fc9caa6c9f5ca21b5157b1 /res/ael/ael.y
parent41d513f443becff2378370ffae4163f2551a883c (diff)
deal with more gcc 4.2 const pointer warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/ael/ael.y')
-rw-r--r--res/ael/ael.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/ael/ael.y b/res/ael/ael.y
index c1f04fd64..ed48d4866 100644
--- a/res/ael/ael.y
+++ b/res/ael/ael.y
@@ -46,7 +46,7 @@ extern char *my_file;
#ifdef AAL_ARGCHECK
int ael_is_funcname(char *name);
#endif
-static char *ael_token_subst(char *mess);
+static char *ael_token_subst(const char *mess);
%}
@@ -714,11 +714,11 @@ static char *token_equivs2[] =
};
-static char *ael_token_subst(char *mess)
+static char *ael_token_subst(const char *mess)
{
/* calc a length, malloc, fill, and return; yyerror had better free it! */
int len=0,i;
- char *p;
+ const char *p;
char *res, *s,*t;
int token_equivs_entries = sizeof(token_equivs1)/sizeof(char*);