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
This commit is contained in:
parent
38c2cd05fa
commit
2a3ed7b879
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue