fix evil pragmas in unix and get rid of horrible ^M in the files (dont do that)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@644 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-02-21 18:34:32 +00:00
parent 1635505808
commit 009e9607e7
3 changed files with 55 additions and 31 deletions

View File

@@ -143,8 +143,10 @@ static int switch_events_match(switch_event *event, switch_event_node *node)
return match;
}
#pragma warning( push )
#pragma warning( disable : 4100 )
#ifdef WIN32
#pragma warning( push )
#pragma warning( disable : 4100 )
#endif
static void *SWITCH_THREAD_FUNC switch_event_thread(switch_thread *thread, void *obj)
{
switch_event_node *node;
@@ -197,7 +199,9 @@ static void *SWITCH_THREAD_FUNC switch_event_thread(switch_thread *thread, void
THREAD_RUNNING = 0;
return NULL;
}
#ifdef WIN32
#pragma warning( pop )
#endif
SWITCH_DECLARE(switch_status) switch_event_running(void)
{