Revision
17379
Author
cstomi.levlist
Date
2010-04-23 12:16:55 -0500 (Fri, 23 Apr 2010)

Log Message

fix windows build (MODEVENT-63)

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.2008.vcproj (17378 => 17379)


--- freeswitch/trunk/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.2008.vcproj	2010-04-23 15:22:54 UTC (rev 17378)
+++ freeswitch/trunk/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.2008.vcproj	2010-04-23 17:16:55 UTC (rev 17379)
@@ -104,7 +104,7 @@
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalIncludeDirectories=""
+				AdditionalIncludeDirectories="&quot;$(InputDir)..\..\..\..\libs\json-c-0.9&quot;"
 				UsePrecompiledHeader="0"
 			/>
 			<Tool

Modified: freeswitch/trunk/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c (17378 => 17379)


--- freeswitch/trunk/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c	2010-04-23 15:22:54 UTC (rev 17378)
+++ freeswitch/trunk/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c	2010-04-23 17:16:55 UTC (rev 17379)
@@ -178,7 +178,7 @@
 }
 
 #define JSON_ENSURE_SUCCESS(obj) if (is_error(obj)) { return; }
-SWITCH_DECLARE(void) set_json_profile_data(struct json_object *json, switch_caller_profile_t *caller_profile)
+static void set_json_profile_data(struct json_object *json, switch_caller_profile_t *caller_profile)
 {
 	struct json_object *param = NULL;
 
@@ -236,7 +236,7 @@
 
 }
 
-SWITCH_DECLARE(void) set_json_chan_vars(struct json_object *json, switch_channel_t *channel)
+static void set_json_chan_vars(struct json_object *json, switch_channel_t *channel)
 {
 	struct json_object *variable = NULL;
 	switch_event_header_t *hi = switch_channel_variable_first(channel);
@@ -268,7 +268,7 @@
 
 
 
-SWITCH_DECLARE(switch_status_t) generate_json_cdr(switch_core_session_t *session, struct json_object **json_cdr)
+static switch_status_t generate_json_cdr(switch_core_session_t *session, struct json_object **json_cdr)
 {
 
 	struct json_object *cdr = json_object_new_object();