icc changes part 1

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@982 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-03-30 23:02:50 +00:00
parent 14b58205b1
commit 64507e70ca
57 changed files with 1055 additions and 1048 deletions

View File

@@ -36,6 +36,7 @@ static int RUNNING = 0;
static int handle_SIGPIPE(int sig)
{
if(sig);
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "Sig Pipe!\n");
return 0;
}
@@ -50,12 +51,14 @@ static int handle_SIGBUS(int sig)
/* no ctl-c mofo */
static int handle_SIGINT(int sig)
{
if (sig);
return 0;
}
static int handle_SIGHUP(int sig)
{
if(sig);
RUNNING = 0;
return 0;
}
@@ -113,6 +116,9 @@ int main(int argc, char *argv[])
}
#ifdef __ICC
#pragma warning (disable:167)
#endif
/* set signal handlers */
signal(SIGINT, (void *) handle_SIGINT);