From dea07f926490b59ba82d9ad9fe027c259249d26b Mon Sep 17 00:00:00 2001 From: Joshua Hursey Date: Tue, 5 Apr 2022 14:59:57 -0400 Subject: [PATCH] Fix ordering and declaration of pmixabi support bottom functions Signed-off-by: Joshua Hursey --- pmix_abi_support.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pmix_abi_support.h b/pmix_abi_support.h index f23cf66..8a5064a 100644 --- a/pmix_abi_support.h +++ b/pmix_abi_support.h @@ -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); @@ -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