Skip to content

Commit

Permalink
Merge pull request #9 from jjhursey/fix-order
Browse files Browse the repository at this point in the history
Fix ordering and declaration of pmixabi support bottom functions
  • Loading branch information
jjhursey authored Apr 6, 2022
2 parents 11f4a25 + dea07f9 commit 4adb337
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 4adb337

Please sign in to comment.