code cleanup
This commit was SVN r2205.
Этот коммит содержится в:
родитель
195f83a769
Коммит
892f1fb534
@ -43,6 +43,8 @@ extern "C" {
|
||||
* Globals
|
||||
*/
|
||||
extern int mca_ptl_base_output;
|
||||
extern char* mca_ptl_base_include;
|
||||
extern char* mca_ptl_base_exclude;
|
||||
extern ompi_list_t mca_ptl_base_components_opened;
|
||||
extern ompi_list_t mca_ptl_base_modules_initialized;
|
||||
|
||||
|
@ -41,7 +41,12 @@ int mca_ptl_base_close(void)
|
||||
&mca_ptl_base_components_opened, NULL);
|
||||
}
|
||||
|
||||
/* All done */
|
||||
/* cleanup */
|
||||
if(NULL != mca_ptl_base_include)
|
||||
free(mca_ptl_base_include);
|
||||
if(NULL != mca_ptl_base_exclude)
|
||||
free(mca_ptl_base_exclude);
|
||||
|
||||
/* All done */
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
@ -26,8 +26,8 @@
|
||||
* Global variables
|
||||
*/
|
||||
int mca_ptl_base_output = -1;
|
||||
char* mca_ptl_base_include = "";
|
||||
char* mca_ptl_base_exclude = "";
|
||||
char* mca_ptl_base_include = NULL;
|
||||
char* mca_ptl_base_exclude = NULL;
|
||||
ompi_list_t mca_ptl_base_components_opened;
|
||||
ompi_list_t mca_ptl_base_modules_initialized;
|
||||
|
||||
|
@ -10,9 +10,6 @@
|
||||
#include "mca/ptl/ptl.h"
|
||||
#include "mca/ptl/base/base.h"
|
||||
|
||||
extern char* mca_ptl_base_include; /* list of ptls to include */
|
||||
extern char* mca_ptl_base_exclude; /* list of ptls to exclude */
|
||||
|
||||
/**
|
||||
* Function for weeding out ptl components that don't want to run.
|
||||
*
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user