Fix a couple of compiler warnings (errors?) caught by ICC testing at Cisco.
This commit was SVN r14080.
Этот коммит содержится в:
родитель
1322f9f346
Коммит
3492fdeae3
@ -45,6 +45,10 @@
|
|||||||
#include "ompi/mca/btl/btl.h"
|
#include "ompi/mca/btl/btl.h"
|
||||||
#include "ompi/mca/btl/base/base.h"
|
#include "ompi/mca/btl/base/base.h"
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Query function for CRCP components.
|
* Query function for CRCP components.
|
||||||
* Returns a priority to rank it agaianst other available CRCP components.
|
* Returns a priority to rank it agaianst other available CRCP components.
|
||||||
@ -369,4 +373,8 @@ OMPI_DECLSPEC extern ompi_crcp_base_module_t ompi_crcp;
|
|||||||
#define OMPI_CRCP_REQUEST_COMPLETE(req) ;
|
#define OMPI_CRCP_REQUEST_COMPLETE(req) ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* OMPI_CRCP_H */
|
#endif /* OMPI_CRCP_H */
|
||||||
|
@ -35,6 +35,10 @@
|
|||||||
|
|
||||||
#include "opal/class/opal_object.h"
|
#include "opal/class/opal_object.h"
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A set of flags that determine the type of the file
|
* A set of flags that determine the type of the file
|
||||||
* in question
|
* in question
|
||||||
@ -206,5 +210,9 @@ ORTE_DECLSPEC extern orte_filem_base_module_t orte_filem;
|
|||||||
/* FILEM v1.0 */ \
|
/* FILEM v1.0 */ \
|
||||||
"filem", 1, 0, 0
|
"filem", 1, 0, 0
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ORTE_FILEM_H */
|
#endif /* ORTE_FILEM_H */
|
||||||
|
|
||||||
|
@ -85,6 +85,10 @@
|
|||||||
|
|
||||||
#include "opal/class/opal_object.h"
|
#include "opal/class/opal_object.h"
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Three types of Coordinator types, plus
|
* Three types of Coordinator types, plus
|
||||||
* the case when it hasn't been defined.
|
* the case when it hasn't been defined.
|
||||||
@ -261,5 +265,9 @@ ORTE_DECLSPEC extern orte_snapc_base_module_t orte_snapc;
|
|||||||
/* SNAPC v1.0 */ \
|
/* SNAPC v1.0 */ \
|
||||||
"snapc", 1, 0, 0
|
"snapc", 1, 0, 0
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ORTE_SNAPC_H */
|
#endif /* ORTE_SNAPC_H */
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user