Projects
home:Eustace:branches:Eulaceura:Factory
opa-psm2
_service:obs_scm:Fix-opa-psm2-gcc10.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:Fix-opa-psm2-gcc10.patch of Package opa-psm2
diff --git a/psm_error.h b/psm_error.h index f335382..cb1b4ba 100644 --- a/psm_error.h +++ b/psm_error.h @@ -65,7 +65,7 @@ #define PSMI_EP_NORETURN ((psm2_ep_t) -2) #define PSMI_EP_LOGEVENT ((psm2_ep_t) -3) -psm2_ep_errhandler_t psmi_errhandler_global; +extern psm2_ep_errhandler_t psmi_errhandler_global; psm2_error_t MOCKABLE(psmi_handle_error)(psm2_ep_t ep, psm2_error_t error, const char *buf, ...) diff --git a/psm_utils.h b/psm_utils.h index 3358704..5c02a2f 100644 --- a/psm_utils.h +++ b/psm_utils.h @@ -325,7 +325,7 @@ uint32_t psmi_get_hfi_type(const psmi_context_t *context); /* * Global model so we can tune defaults better for specific cpu's */ -uint32_t psmi_cpu_model; +extern uint32_t psmi_cpu_model; /* * Diagnostics, all in psm_diags.c @@ -342,7 +342,7 @@ void psmi_multi_ep_init(); * Fault injection */ struct psmi_faultinj_spec; -int psmi_faultinj_enabled; /* use macro to test */ +extern int psmi_faultinj_enabled; /* use macro to test */ #if 1 /* possible to disable at compile time */ #define PSMI_FAULTINJ_ENABLED() (!!psmi_faultinj_enabled) #else diff --git a/ptl_am/ptl_fwd.h b/ptl_am/ptl_fwd.h index e1bd064..1d0fec4 100644 --- a/ptl_am/ptl_fwd.h +++ b/ptl_am/ptl_fwd.h @@ -57,7 +57,7 @@ #define _PTL_FWD_AMSH_H /* Symbol in am ptl */ -struct ptl_ctl_init psmi_ptl_amsh; +extern struct ptl_ctl_init psmi_ptl_amsh; extern int psmi_shm_mq_rv_thresh; diff --git a/ptl_ips/ptl_fwd.h b/ptl_ips/ptl_fwd.h index 3702fba..b774260 100644 --- a/ptl_ips/ptl_fwd.h +++ b/ptl_ips/ptl_fwd.h @@ -61,7 +61,7 @@ typedef struct ips_epaddr ips_epaddr_t; typedef struct ips_msgctl ips_msgctl_t; /* Symbol in ips ptl */ -struct ptl_ctl_init psmi_ptl_ips; +extern struct ptl_ctl_init psmi_ptl_ips; -struct ptl_ctl_rcvthread psmi_ptl_ips_rcvthread; +extern struct ptl_ctl_rcvthread psmi_ptl_ips_rcvthread; #endif /* _PTL_FWD_IPS_H */ diff --git a/ptl_self/ptl_fwd.h b/ptl_self/ptl_fwd.h index 77ee7f9..7ee6b73 100644 --- a/ptl_self/ptl_fwd.h +++ b/ptl_self/ptl_fwd.h @@ -57,6 +57,6 @@ #define _PTL_FWD_SELF_H /* Symbol in am ptl */ -struct ptl_ctl_init psmi_ptl_self; +extern struct ptl_ctl_init psmi_ptl_self; #endif
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2