Skip to content

Commit

Permalink
Fix ordering and declaration of pmixabi support bottom functions
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Hursey <[email protected]>
  • Loading branch information
jjhursey committed Apr 5, 2022
1 parent 11f4a25 commit dea07f9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pmix_abi_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ static inline
void pmixabi_argv_free(char **argv)
{
if (NULL != (argv)) {
for (char **p = (argv); NULL != *p; ++p) {
char **p;
for (p = (argv); NULL != *p; ++p) {
free(*p);
}
free(argv);
Expand Down Expand Up @@ -449,5 +450,13 @@ size_t pmixabi_nslen(const char *src)
return i;
}

/*
* Declared here, but defined in pmix_abi_support_bottom.h
*/
static inline
void pmixabi_darray_destruct(pmix_data_array_t *m);
static inline
void pmixabi_value_destruct(pmix_value_t * m);

/* PMIX_ABI_SUPPORT_H */
#endif

0 comments on commit dea07f9

Please sign in to comment.