]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix windows build (MODEVENT-63)
authorcseket <cstomi.levlist@gmail.com>
Fri, 23 Apr 2010 17:16:55 +0000 (19:16 +0200)
committercseket <cstomi.levlist@gmail.com>
Fri, 23 Apr 2010 17:16:55 +0000 (19:16 +0200)
src/mod/event_handlers/mod_json_cdr/mod_json_cdr.2008.vcproj
src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c

index 1af8141191e9e2ae194cbdc99dd38043a966cd60..d330aba5d8aeded920dacad93fa87b67fcd64b32 100644 (file)
                        />\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
-                               AdditionalIncludeDirectories=""\r
+                               AdditionalIncludeDirectories="&quot;$(InputDir)..\..\..\..\libs\json-c-0.9&quot;"\r
                                UsePrecompiledHeader="0"\r
                        />\r
                        <Tool\r
index b4f3eeceff7a4d5e3012271b5c31e1474b9fcc42..31a635dda3a0b263fef57212501630cb9bb34769 100644 (file)
@@ -178,7 +178,7 @@ static switch_status_t set_json_cdr_log_dirs()
 }
 
 #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_profile_data(struct json_object *json, switch_call
 
 }
 
-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(void) set_json_chan_vars(struct json_object *json, switch_channel
 
 
 
-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();