Get the function prototypes to match so we eliminate an annoying warning
This commit was SVN r22726.
Этот коммит содержится в:
родитель
6c0d7940c7
Коммит
f4c3cceb5e
@ -102,7 +102,7 @@ int mca_rcache_vma_delete(struct mca_rcache_base_module_t* rcache,
|
||||
return mca_rcache_vma_tree_delete(vma_rcache, reg);
|
||||
}
|
||||
|
||||
void mca_rcache_vma_clean(struct mca_rcache_base_module_t* rcache)
|
||||
int mca_rcache_vma_clean(struct mca_rcache_base_module_t* rcache)
|
||||
{
|
||||
mca_rcache_vma_module_t *vma_rcache = (mca_rcache_vma_module_t*)rcache;
|
||||
mca_rcache_vma_t *vma;
|
||||
@ -124,6 +124,7 @@ void mca_rcache_vma_clean(struct mca_rcache_base_module_t* rcache)
|
||||
mca_rcache_vma_destroy(vma);
|
||||
}
|
||||
} while (NULL != vma);
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -66,7 +66,7 @@ int mca_rcache_vma_delete(struct mca_rcache_base_module_t* rcache,
|
||||
mca_mpool_base_registration_t* registration);
|
||||
|
||||
/* It is not safe to call mca_rcache_vma_clean with the rcache lock held */
|
||||
void mca_rcache_vma_clean(struct mca_rcache_base_module_t* rcache);
|
||||
int mca_rcache_vma_clean(struct mca_rcache_base_module_t* rcache);
|
||||
/* Destroy vma objects which are on the deferred delete list. These were placed
|
||||
on the list earlier when the rcache lock was held and it was not safe to
|
||||
destory them. They should not be linked into any other structure anymore except
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user