From 3bcf4383560e668d381c191ba00ee163911e1234 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 9 Sep 2008 17:07:40 +0000 Subject: [PATCH] remove -w from mod_fax makefile git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9494 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_fax/Makefile | 2 +- src/mod/applications/mod_fax/mod_fax.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_fax/Makefile b/src/mod/applications/mod_fax/Makefile index ff2991e7cc..3a19ceecc2 100644 --- a/src/mod/applications/mod_fax/Makefile +++ b/src/mod/applications/mod_fax/Makefile @@ -3,7 +3,7 @@ BASE=../../../.. SPANDSP_DIR=$(BASE)/libs/spandsp SPANDSP_LA=$(SPANDSP_DIR)/src/libspandsp.la -LOCAL_CFLAGS=-I$(SPANDSP_DIR)/src -w +LOCAL_CFLAGS=-I$(SPANDSP_DIR)/src LOCAL_LIBADD=$(SPANDSP_LA) include $(BASE)/build/modmake.rules diff --git a/src/mod/applications/mod_fax/mod_fax.c b/src/mod/applications/mod_fax/mod_fax.c index 25658e7a0c..18678aa297 100644 --- a/src/mod/applications/mod_fax/mod_fax.c +++ b/src/mod/applications/mod_fax/mod_fax.c @@ -513,7 +513,7 @@ void process_fax(switch_core_session_t *session, const char *data, application_m goto done; } else if (pvt->app_mode == FUNCTION_RX) { char *fname; - char *prefix; + const char *prefix; switch_time_t time; time = switch_time_now();