From 010c2f4ee6292e5089de996651f91c532a516a56 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 24 Mar 2007 03:29:24 +0000 Subject: [PATCH] switch_config isn't used anymore. leaving the .c and .h file there for now, we may remove them in the future. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4758 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- Makefile.am | 2 -- src/include/switch.h | 1 - src/include/switch_config.h | 2 ++ src/include/switch_types.h | 1 - w32/Library/FreeSwitchCore.vcproj | 8 -------- 5 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Makefile.am b/Makefile.am index 44709021c8..c439726399 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,6 @@ src/switch_apr.c \ src/switch_buffer.c \ src/switch_caller.c \ src/switch_channel.c \ -src/switch_config.c \ src/switch_console.c \ src/switch_core.c \ src/switch_core_db.c\ @@ -52,7 +51,6 @@ src/include/switch_apr.h\ src/include/switch_buffer.h\ src/include/switch_caller.h\ src/include/switch_channel.h\ -src/include/switch_config.h\ src/include/switch_console.h\ src/include/switch_core.h\ src/include/switch_core_db.h\ diff --git a/src/include/switch.h b/src/include/switch.h index 201e5c815b..2e1474b3fb 100644 --- a/src/include/switch.h +++ b/src/include/switch.h @@ -79,7 +79,6 @@ #include #include #include -#include #include #include #include diff --git a/src/include/switch_config.h b/src/include/switch_config.h index 93d5fe379d..bb4fddd214 100644 --- a/src/include/switch_config.h +++ b/src/include/switch_config.h @@ -60,6 +60,8 @@ SWITCH_BEGIN_EXTERN_C +typedef struct switch_config switch_config_t; + /*! \brief A simple file handle representing an open configuration file **/ struct switch_config { /*! FILE stream buffer to the opened file */ diff --git a/src/include/switch_types.h b/src/include/switch_types.h index f7e3b0816a..2bde414694 100644 --- a/src/include/switch_types.h +++ b/src/include/switch_types.h @@ -969,7 +969,6 @@ typedef struct switch_core_thread_session switch_core_thread_session_t; typedef struct switch_codec_implementation switch_codec_implementation_t; typedef struct switch_buffer switch_buffer_t; typedef struct switch_codec_settings switch_codec_settings_t; -typedef struct switch_config switch_config_t; typedef struct switch_io_event_hook_outgoing_channel switch_io_event_hook_outgoing_channel_t; typedef struct switch_io_event_hook_answer_channel switch_io_event_hook_answer_channel_t; diff --git a/w32/Library/FreeSwitchCore.vcproj b/w32/Library/FreeSwitchCore.vcproj index 6c1ebff600..d45c4c084d 100644 --- a/w32/Library/FreeSwitchCore.vcproj +++ b/w32/Library/FreeSwitchCore.vcproj @@ -239,10 +239,6 @@ RelativePath="..\..\src\switch_channel.c" > - - @@ -321,10 +317,6 @@ RelativePath="..\..\src\include\switch_channel.h" > - -