From be245edf5eba606771506e4891a92437da6f2f3b Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Fri, 24 Feb 2017 11:11:30 -0600 Subject: [PATCH] FS-10060: fix scope of declarations --- src/mod/languages/mod_v8/mod_v8.cpp | 4 ++++ src/mod/languages/mod_v8/mod_v8.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/languages/mod_v8/mod_v8.cpp b/src/mod/languages/mod_v8/mod_v8.cpp index d0e5cc4abc..499ee390c9 100644 --- a/src/mod/languages/mod_v8/mod_v8.cpp +++ b/src/mod/languages/mod_v8/mod_v8.cpp @@ -139,6 +139,10 @@ static bool debug_wait_for_connection = true; static bool debug_manual_break = true; #endif +static void v8_thread_launch(const char *text); +static void v8_event_handler(switch_event_t *event); +static switch_xml_t v8_fetch(const char *section, const char *tag_name, const char *key_name, const char *key_value, switch_event_t *params, void *user_data); + using namespace v8; static switch_status_t v8_mod_init_built_in(const v8_mod_interface_t *mod_interface) diff --git a/src/mod/languages/mod_v8/mod_v8.h b/src/mod/languages/mod_v8/mod_v8.h index 0af8e17e0a..5dc344618f 100644 --- a/src/mod/languages/mod_v8/mod_v8.h +++ b/src/mod/languages/mod_v8/mod_v8.h @@ -83,10 +83,6 @@ SWITCH_END_EXTERN_C void v8_add_event_handler(void *event_handler); void v8_remove_event_handler(void *event_handler); -static switch_xml_t v8_fetch(const char *section, - const char *tag_name, const char *key_name, const char *key_value, switch_event_t *params, void *user_data); -static void v8_event_handler(switch_event_t *event); -void v8_thread_launch(const char *text); #endif /* MOD_V8_H */