From 7c0b94a3e57f21d44101acc0ffcd5fab50b573af Mon Sep 17 00:00:00 2001
From: Richard Mudgett <rmudgett@digium.com>
Date: Wed, 5 Dec 2012 02:23:10 +0000
Subject: [PATCH] Remove init_framer(). It no longer does anything.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 include/asterisk/_private.h | 1 -
 main/asterisk.c             | 5 -----
 main/format.c               | 4 ----
 3 files changed, 10 deletions(-)

diff --git a/include/asterisk/_private.h b/include/asterisk/_private.h
index a7ed68136f..cded90ef7d 100644
--- a/include/asterisk/_private.h
+++ b/include/asterisk/_private.h
@@ -20,7 +20,6 @@ int load_pbx(void);			/*!< Provided by pbx.c */
 int init_logger(void);			/*!< Provided by logger.c */
 void close_logger(void);		/*!< Provided by logger.c */
 void clean_time_zones(void);			/*!< Provided by localtime.c */
-int init_framer(void);			/*!< Provided by frame.c */
 int ast_term_init(void);		/*!< Provided by term.c */
 int astdb_init(void);			/*!< Provided by db.c */
 void ast_channels_init(void);		/*!< Provided by channel.c */
diff --git a/main/asterisk.c b/main/asterisk.c
index aa12836c2a..27145296ac 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -4251,11 +4251,6 @@ int main(int argc, char *argv[])
 		exit(1);
 	}
 
-	if (init_framer()) {
-		printf("%s", term_quit());
-		exit(1);
-	}
-
 	if (ast_enum_init()) {
 		printf("%s", term_quit());
 		exit(1);
diff --git a/main/format.c b/main/format.c
index cea89a2b6a..36aa534c00 100644
--- a/main/format.c
+++ b/main/format.c
@@ -909,10 +909,6 @@ static struct ast_cli_entry my_clis[] = {
 	AST_CLI_DEFINE(show_codecs, "Displays a list of codecs"),
 	AST_CLI_DEFINE(show_codec_n, "Shows a specific codec"),
 };
-int init_framer(void)
-{
-	return 0;
-}
 
 static int format_list_add_custom(struct ast_format_list *new)
 {
-- 
GitLab