Fix some minor errors: global sym name, static functions, etc.
This commit was SVN r930.
Этот коммит содержится в:
родитель
30ac8a87b9
Коммит
1d3c569bac
@ -48,7 +48,7 @@ extern lam_pointer_array_t *lam_group_f_to_c_table;
|
|||||||
*
|
*
|
||||||
* @return Pointer to new group structure
|
* @return Pointer to new group structure
|
||||||
*/
|
*/
|
||||||
lam_group_t *group_allocate(int group_size);
|
lam_group_t *lam_group_allocate(int group_size);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* increment the reference count of the proc structures
|
* increment the reference count of the proc structures
|
||||||
|
@ -50,11 +50,10 @@ lam_group_t lam_mpi_group_null = {
|
|||||||
*
|
*
|
||||||
* @return Pointer to new group structure
|
* @return Pointer to new group structure
|
||||||
*/
|
*/
|
||||||
lam_group_t *group_allocate(int group_size)
|
lam_group_t *lam_group_allocate(int group_size)
|
||||||
{
|
{
|
||||||
/* local variables */
|
/* local variables */
|
||||||
lam_group_t *new_group;
|
lam_group_t *new_group;
|
||||||
int ret_val;
|
|
||||||
|
|
||||||
/* create new group group element */
|
/* create new group group element */
|
||||||
new_group=OBJ_NEW(lam_group_t);
|
new_group=OBJ_NEW(lam_group_t);
|
||||||
@ -103,7 +102,7 @@ void lam_group_increment_proc_count(lam_group_t *group) {
|
|||||||
/**
|
/**
|
||||||
* group constructor
|
* group constructor
|
||||||
*/
|
*/
|
||||||
void lam_group_construct(lam_group_t *new_group)
|
static void lam_group_construct(lam_group_t *new_group)
|
||||||
{
|
{
|
||||||
int ret_val;
|
int ret_val;
|
||||||
|
|
||||||
@ -118,7 +117,7 @@ void lam_group_construct(lam_group_t *new_group)
|
|||||||
/**
|
/**
|
||||||
* group destructor
|
* group destructor
|
||||||
*/
|
*/
|
||||||
void lam_group_destruct(lam_group_t *group)
|
static void lam_group_destruct(lam_group_t *group)
|
||||||
{
|
{
|
||||||
/* release thegrp_proc_pointers memory */
|
/* release thegrp_proc_pointers memory */
|
||||||
if( NULL != group->grp_proc_pointers )
|
if( NULL != group->grp_proc_pointers )
|
||||||
@ -144,7 +143,6 @@ int lam_group_init(void)
|
|||||||
{
|
{
|
||||||
/* local variables */
|
/* local variables */
|
||||||
int return_value,ret_val;
|
int return_value,ret_val;
|
||||||
lam_group_t *new_group_pointer;
|
|
||||||
|
|
||||||
return_value=LAM_SUCCESS;
|
return_value=LAM_SUCCESS;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user