truncate 'const const' to 'const'
authorRussell Bryant <russell@russellbryant.com>
Sun, 14 Nov 2004 22:38:34 +0000 (22:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 14 Nov 2004 22:38:34 +0000 (22:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4244 65c4cc65-6c06-0410-ace0-fbb531ad65f3

file.c

diff --git a/file.c b/file.c
index 2ec480b..7880114 100755 (executable)
--- a/file.c
+++ b/file.c
@@ -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];