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
This commit is contained in:
Kevin P. Fleming
2007-09-27 00:06:06 +00:00
parent 41d513f443
commit 5cbba2923c
2 changed files with 7 additions and 7 deletions

View File

@@ -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*);