From 8882f355b497223a11b99a1cfadf8020fe6bafc7 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 12 Apr 2007 05:18:23 +0000 Subject: [PATCH] Move these functions at their right place. This commit was SVN r14333. --- orte/mca/odls/default/odls_default.h | 10 ---------- orte/mca/odls/default/odls_default_module.c | 10 +++++++++- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/orte/mca/odls/default/odls_default.h b/orte/mca/odls/default/odls_default.h index 4e11d002bf..05b1c15bb0 100644 --- a/orte/mca/odls/default/odls_default.h +++ b/orte/mca/odls/default/odls_default.h @@ -50,16 +50,6 @@ orte_odls_base_module_t* orte_odls_default_component_init(int *priority); */ int orte_odls_default_finalize(void); -/* - * Interface - */ -int orte_odls_default_subscribe_launch_data(orte_jobid_t job, orte_gpr_notify_cb_fn_t cbfunc); -int orte_odls_default_get_add_procs_data(orte_gpr_notify_data_t **data, orte_job_map_t *map); -int orte_odls_default_launch_local_procs(orte_gpr_notify_data_t *data, char **base_environ); -int orte_odls_default_kill_local_procs(orte_jobid_t job, bool set_state); -int orte_odls_default_signal_local_procs(const orte_process_name_t *proc, - int32_t signal); - /** * ODLS Default globals */ diff --git a/orte/mca/odls/default/odls_default_module.c b/orte/mca/odls/default/odls_default_module.c index 05621142aa..bc025700cb 100644 --- a/orte/mca/odls/default/odls_default_module.c +++ b/orte/mca/odls/default/odls_default_module.c @@ -104,7 +104,15 @@ static int orte_pls_fork_preload_append_binary(orte_app_context_t* context, static int orte_pls_fork_preload_append_files(orte_app_context_t* context, orte_filem_base_request_t *filem_request); static bool is_preload_local_dup(char *local_ref, orte_filem_base_request_t *filem_request); - +/* + * External Interface + */ +static int orte_odls_default_subscribe_launch_data(orte_jobid_t job, orte_gpr_notify_cb_fn_t cbfunc); +static int orte_odls_default_get_add_procs_data(orte_gpr_notify_data_t **data, orte_job_map_t *map); +static int orte_odls_default_launch_local_procs(orte_gpr_notify_data_t *data, char **base_environ); +static int orte_odls_default_kill_local_procs(orte_jobid_t job, bool set_state); +static int orte_odls_default_signal_local_procs(const orte_process_name_t *proc, + int32_t signal); static void set_handler_default(int sig);