summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-09-11 22:38:53 +0000
committerRussell Bryant <russell@russellbryant.com>2007-09-11 22:38:53 +0000
commit2a3ed7b879ce95451588ecb4a45207e35ac185f8 (patch)
treeb0226412f96c1122a93516319a293653accc2235 /main
parent38c2cd05fafa4e836bc5567f1413e59c9115883f (diff)
remove unused functions that made this file not build under dev mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/config.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/main/config.c b/main/config.c
index e8d13a5b2..97e62fa56 100644
--- a/main/config.c
+++ b/main/config.c
@@ -1333,27 +1333,6 @@ static void set_fn(char *fn, int fn_size, const char *file, const char *configfi
snprintf(fn, fn_size, "%s/%s", ast_config_AST_CONFIG_DIR, file);
}
-static int count_linefeeds(char *str)
-{
- int count = 0;
- while (*str) {
- if (*str =='\n')
- count++;
- }
- return count;
-}
-
-static int count_linefeeds_in_comments(struct ast_comment *x)
-{
- int count = 0;
- while (x)
- {
- count += count_linefeeds(x->cmt);
- x = x->next;
- }
- return count;
-}
-
int config_text_file_save(const char *configfile, const struct ast_config *cfg, const char *generator)
{
FILE *f;