- Get rid of include orte/util/proc_info.h, if not needed
Only proc_info.h-internal include file is opal/dss/dss_types.h - In one case (orte/util/hnp_contact.c) had to add proc_info.h again. - Local compilation (Linux/x86_64) w/ -Wimplicit-function-declaration works fine, no errors. Again, let's have MTT the last word. This commit was SVN r20631.
Этот коммит содержится в:
родитель
85a9a2e6d8
Коммит
b356e90fa1
@ -14,7 +14,6 @@
|
||||
#include "ompi/runtime/ompi_module_exchange.h"
|
||||
#include "btl_elan.h"
|
||||
#include "btl_elan_proc.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "ompi/communicator/communicator.h"
|
||||
|
||||
static void mca_btl_elan_proc_construct(mca_btl_elan_proc_t* proc);
|
||||
|
@ -43,7 +43,6 @@
|
||||
#include "ompi/mca/btl/base/btl_base_error.h"
|
||||
#include "ompi/datatype/convertor.h"
|
||||
#include "btl_gm_endpoint.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "ompi/runtime/ompi_module_exchange.h"
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "ompi/mca/btl/base/btl_base_error.h"
|
||||
#include "btl_sctp_frag.h"
|
||||
#include "btl_sctp_endpoint.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
#include "btl_sctp.h"
|
||||
#include "btl_sctp_addr.h"
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "ompi/datatype/datatype.h"
|
||||
#include "opal/sys/atomic.h"
|
||||
#include "opal/util/if.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "opal/util/printf.h"
|
||||
#include "ompi/class/ompi_free_list.h"
|
||||
#include "ompi/mca/pml/pml.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "opal/event/event.h"
|
||||
#include "opal/util/if.h"
|
||||
#include "opal/util/argv.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "ompi/mca/pml/pml.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
#include "btl_self.h"
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include "ompi/mca/btl/base/btl_base_error.h"
|
||||
#include "btl_tcp_frag.h"
|
||||
#include "btl_tcp_endpoint.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
static void mca_btl_tcp_frag_common_constructor(mca_btl_tcp_frag_t* frag)
|
||||
{
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include "opal/util/basename.h"
|
||||
#include "opal/util/output.h"
|
||||
#include "opal/align.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/rml/rml_types.h"
|
||||
#include "orte/mca/rml/base/base.h"
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "mpool_base_mem_cb.h"
|
||||
#include "base.h"
|
||||
#include "orte/types.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
opal_pointer_array_t mca_mpool_base_mem_cb_array;
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "opal/mca/base/base.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
#include "mpool_fake.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
@ -22,7 +22,6 @@
|
||||
#define OMPI_DISABLE_ENABLE_MEM_DEBUG 1
|
||||
#include "ompi_config.h"
|
||||
#include "opal/include/opal/align.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "mpool_fake.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "opal/mca/base/base.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
#include "mpool_rdma.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
@ -24,7 +24,6 @@
|
||||
#define OMPI_DISABLE_ENABLE_MEM_DEBUG 1
|
||||
#include "ompi_config.h"
|
||||
#include "opal/include/opal/align.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "ompi/mca/mpool/rdma/mpool_rdma.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include "ompi_config.h"
|
||||
#include "ompi/constants.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "ompi/mca/pml/pml.h"
|
||||
#include "ompi/mca/btl/btl.h"
|
||||
#include "ompi/mca/bml/bml.h"
|
||||
|
@ -45,7 +45,6 @@
|
||||
#include "opal/mca/crs/base/base.h"
|
||||
#include "opal/runtime/opal_cr.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/snapc/snapc.h"
|
||||
#include "orte/mca/snapc/base/base.h"
|
||||
#include "orte/runtime/runtime.h"
|
||||
|
@ -47,7 +47,6 @@
|
||||
#include "opal/sys/atomic.h"
|
||||
#include "opal/runtime/opal.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/oob/base/base.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
@ -45,7 +45,6 @@
|
||||
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
|
||||
/*
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
#include "orte/mca/ess/ess.h"
|
||||
#include "orte/mca/ess/slave/ess_slave.h"
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "opal/mca/mca.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "opal/threads/condition.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "opal/dss/dss.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
#include "orte/mca/odls/odls_types.h"
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "opal/util/bit_ops.h"
|
||||
|
||||
#include "opal/class/opal_hash_table.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "opal/dss/dss.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
#include "orte/mca/odls/odls_types.h"
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "opal/mca/mca.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "opal/mca/mca.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
#include "orte/mca/odls/odls.h"
|
||||
#include "orte/mca/odls/base/odls_private.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "opal/util/path.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
#include "orte/mca/odls/odls.h"
|
||||
#include "orte/mca/odls/base/odls_private.h"
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "opal/util/if.h"
|
||||
#include "opal/util/net.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
#include "oob_tcp.h"
|
||||
#include "oob_tcp_addr.h"
|
||||
|
@ -53,7 +53,6 @@
|
||||
#endif
|
||||
#include "opal/event/event.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "orte_config.h"
|
||||
#include "orte/types.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
|
||||
#include "orte/mca/oob/tcp/oob_tcp.h"
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "orte_config.h"
|
||||
#include "orte/types.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "opal/util/output.h"
|
||||
#include "opal/class/opal_list.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/mca/ns/ns.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
@ -34,7 +34,6 @@
|
||||
#include "opal/util/argv.h"
|
||||
#include "opal/util/output.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
||||
#include "orte/mca/plm/plm.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "opal/class/opal_list.h"
|
||||
#include "opal/class/opal_pointer_array.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
#include "opal/util/argv.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
||||
#include "orte/mca/plm/plm.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
#include "opal/util/argv.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
||||
#include "orte/mca/plm/plm.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
|
||||
#include "orte/mca/ras/base/ras_private.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "opal/util/output.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
|
||||
#include "opal/mca/base/base.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "opal/mca/base/base.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
|
||||
#include "ras_lsf.h"
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "opal/mca/base/base.h"
|
||||
#include "opal/mca/base/mca_base_param.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "orte/util/show_help.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/hostfile/hostfile.h"
|
||||
#include "orte/util/dash_host/dash_host.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
@ -55,7 +55,6 @@
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_wait.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
#include "orte/mca/rml/rml_types.h"
|
||||
#include "orte/mca/plm/plm.h"
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <signal.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <signal.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#include "opal/util/argv.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/mca/plm/plm.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
#include "orte/mca/errmgr/errmgr.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/runtime.h"
|
||||
#include "orte/mca/rml/rml.h"
|
||||
#include "orte/mca/oob/base/base.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/runtime/runtime.h"
|
||||
|
@ -69,7 +69,6 @@
|
||||
#include "opal/dss/dss.h"
|
||||
|
||||
#include "orte/runtime/runtime.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "opal/util/os_path.h"
|
||||
#include "orte/util/session_dir.h"
|
||||
#include "orte/util/hnp_contact.h"
|
||||
|
@ -67,7 +67,6 @@
|
||||
|
||||
#include "opal/dss/dss.h"
|
||||
#include "orte/runtime/runtime.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "opal/util/os_path.h"
|
||||
#include "orte/util/session_dir.h"
|
||||
#include "orte/util/hnp_contact.h"
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include "orte/mca/rml/rml.h"
|
||||
#include "orte/mca/odls/odls_types.h"
|
||||
#include "orte/mca/routed/routed.h"
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/runtime/orte_globals.h"
|
||||
#include "orte/util/hnp_contact.h"
|
||||
#include "orte/util/name_fns.h"
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include "orte/mca/rml/base/rml_contact.h"
|
||||
#include "orte/mca/routed/routed.h"
|
||||
|
||||
#include "orte/util/proc_info.h"
|
||||
#include "orte/util/hnp_contact.h"
|
||||
|
||||
#define ORTE_HNP_CONTACT_FILE_MAX_LINE_LENGTH 1024
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user