diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-11 22:38:53 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-11 22:38:53 +0000 |
commit | 7821eb23e14ebe540f5f06fbf9be9db52aa66fb4 (patch) | |
tree | b0226412f96c1122a93516319a293653accc2235 /main/config.c | |
parent | adfd37d796f2975de4a1af058ffc5922e22c1df0 (diff) |
remove unused functions that made this file not build under dev mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82270 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/config.c')
-rw-r--r-- | main/config.c | 21 |
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; |