]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
I should always compile before committing...
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 25 Aug 2009 19:28:42 +0000 (19:28 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 25 Aug 2009 19:28:42 +0000 (19:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@214069 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/say.c

index b3c315e4dd54aa66c3b9737acf003aa7c298e06e..439855bf4a10dc077c3a78bb50da91d1cde59134 100644 (file)
@@ -3477,6 +3477,12 @@ int ast_say_date_with_format_en(struct ast_channel *chan, time_t time, const cha
        return res;
 }
 
+static char next_item(const char *format)
+{
+       const char *next = ast_skip_blanks(format);
+       return *next;
+}
+
 /* Danish syntax */
 int ast_say_date_with_format_da(struct ast_channel *chan, time_t time, const char *ints, const char *lang, const char *format, const char *timezone)
 {
@@ -3682,12 +3688,6 @@ int ast_say_date_with_format_da(struct ast_channel *chan, time_t time, const cha
        return res;
 }
 
-char next_item(const char *format)
-{
-       const char *next = ast_skip_blanks(format);
-       return *next;
-}
-
 /* German syntax */
 int ast_say_date_with_format_de(struct ast_channel *chan, time_t time, const char *ints, const char *lang, const char *format, const char *timezone)
 {