truncate 'const const' to 'const'

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2004-11-14 22:38:34 +00:00
parent ccff3cf375
commit 3539a390fe

4
file.c
View File

@@ -278,7 +278,7 @@ static int copy(const char *infile, const char *outfile)
return 0;
}
static char *build_filename(const const char *filename, const char *ext)
static char *build_filename(const char *filename, const char *ext)
{
char *fn;
int fnsize = 0;
@@ -297,7 +297,7 @@ static char *build_filename(const const char *filename, const char *ext)
}
static int exts_compare(const char *exts, const const char *type)
static int exts_compare(const char *exts, const char *type)
{
char *stringp = NULL, *ext;
char tmp[256];