From 49783ee5c1f6040b80ba4fb5362c6c07072e4b08 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 25 Apr 2006 04:09:34 +0000 Subject: [PATCH] code before declaration. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1246 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_loadable_module.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index e1c91e0559..40b413e734 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -318,15 +318,15 @@ SWITCH_DECLARE(switch_status) switch_loadable_module_build_dynamic(char *filenam switch_module_shutdown_t switch_module_shutdown) { switch_loadable_module *module = NULL; + switch_module_load_t load_func_ptr = NULL; + int loading = 1; + const char *err = NULL; + switch_loadable_module_interface *interface = NULL; if ((module = switch_core_permenant_alloc(sizeof(switch_loadable_module))) == 0) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Couldn't allocate memory\n"); return SWITCH_STATUS_GENERR; } - switch_module_load_t load_func_ptr = NULL; - int loading = 1; - const char *err = NULL; - switch_loadable_module_interface *interface = NULL; while (loading) { load_func_ptr = (switch_module_load_t) switch_module_load;