Skip to content

Commit 9d3dcc9

Browse files
author
Ralph Castain
authored
Merge pull request #3957 from rhc54/topic/vis
Add missing export directives
2 parents 4a3aa4f + 058e802 commit 9d3dcc9

File tree

11 files changed

+277
-278
lines changed

11 files changed

+277
-278
lines changed

opal/mca/pmix/pmix2x/pmix/include/pmix_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ pmix_status_t pmix_argv_append_nosize(char ***argv, const char *arg);
10401040
(r) = pmix_argv_append_nosize(&(a), (b))
10411041

10421042
pmix_status_t pmix_setenv(const char *name, const char *value,
1043-
bool overwrite, char ***env);
1043+
bool overwrite, char ***env);
10441044
#define PMIX_SETENV(r, a, b, c) \
10451045
(r) = pmix_setenv((a), (b), true, (c))
10461046

opal/mca/pmix/pmix2x/pmix/src/mca/pnet/base/base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct pmix_pnet_globals_t {
7676
};
7777
typedef struct pmix_pnet_globals_t pmix_pnet_globals_t;
7878

79-
extern pmix_pnet_globals_t pmix_pnet_globals;
79+
PMIX_EXPORT extern pmix_pnet_globals_t pmix_pnet_globals;
8080

8181
PMIX_EXPORT pmix_status_t pmix_pnet_base_setup_app(char *nspace, pmix_list_t *ilist);
8282
PMIX_EXPORT pmix_status_t pmix_pnet_base_setup_local_network(char *nspace,

opal/mca/pmix/pmix2x/pmix/src/runtime/pmix_init.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,11 @@ int pmix_rte_init(pmix_proc_type_t type,
270270
goto return_error;
271271
}
272272

273-
/* tell libevent that we need thread support */
274-
pmix_event_use_threads();
275-
276273
/* if an external event base wasn't provide, create one */
277274
if (!pmix_globals.external_evbase) {
275+
/* tell libevent that we need thread support */
276+
pmix_event_use_threads();
277+
278278
/* create an event base and progress thread for us */
279279
if (NULL == (pmix_globals.evbase = pmix_progress_thread_init(NULL))) {
280280
error = "progress thread";

opal/mca/pmix/pmix2x/pmix/src/util/basename.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ BEGIN_C_DECLS
6868
*
6969
* The caller is responsible for freeing the returned string.
7070
*/
71-
char *pmix_basename(const char* filename) __pmix_attribute_malloc__ __pmix_attribute_warn_unused_result__;
71+
PMIX_EXPORT char *pmix_basename(const char* filename) __pmix_attribute_malloc__ __pmix_attribute_warn_unused_result__;
7272

7373
/**
7474
* Return the dirname of a filename.
@@ -107,7 +107,7 @@ char *pmix_basename(const char* filename) __pmix_attribute_malloc__ __pmix_attri
107107
*
108108
* The caller is responsible for freeing the returned string.
109109
*/
110-
char *pmix_dirname(const char* filename) __pmix_attribute_malloc__ __pmix_attribute_warn_unused_result__;
110+
PMIX_EXPORT char *pmix_dirname(const char* filename) __pmix_attribute_malloc__ __pmix_attribute_warn_unused_result__;
111111

112112
END_C_DECLS
113113

opal/mca/pmix/pmix2x/pmix/src/util/getid.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
BEGIN_C_DECLS
2424

2525
/* lookup the effective uid and gid of a socket */
26-
pmix_status_t pmix_util_getid(int sd, uid_t *uid, gid_t *gid);
26+
PMIX_EXPORT pmix_status_t pmix_util_getid(int sd, uid_t *uid, gid_t *gid);
2727

2828
END_C_DECLS
2929

0 commit comments

Comments
 (0)