1
1

Fix some symbols highlighted by the illegal symbol report

This commit was SVN r2926.
Этот коммит содержится в:
Jeff Squyres 2004-10-05 11:53:45 +00:00
родитель b01bfc26a4
Коммит ae60cdcafa
5 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -5,7 +5,7 @@
#if defined(VERBOSE) #if defined(VERBOSE)
# define DUMP_STACK( PSTACK, STACK_POS, PDESC, NAME ) \ # define DUMP_STACK( PSTACK, STACK_POS, PDESC, NAME ) \
dump_stack( (PSTACK), (STACK_POS), (PDESC), (NAME) ) ompi_ddt_dump_stack( (PSTACK), (STACK_POS), (PDESC), (NAME) )
# if defined(ACCEPT_C99) # if defined(ACCEPT_C99)
# define DUMP( ARGS... ) printf(__VA_ARGS__) # define DUMP( ARGS... ) printf(__VA_ARGS__)
# else # else
@ -153,9 +153,9 @@ static inline int IMAX( int a, int b ) { return ( a < b ? b : a ); }
static inline int IMIN( int a, int b ) { return ( a < b ? a : b ); } static inline int IMIN( int a, int b ) { return ( a < b ? a : b ); }
#endif /* __GNU__ */ #endif /* __GNU__ */
extern conversion_fct_t copy_functions[DT_MAX_PREDEFINED]; extern conversion_fct_t ompi_ddt_copy_functions[DT_MAX_PREDEFINED];
extern void dump_stack( dt_stack_t* pStack, int stack_pos, dt_elem_desc_t* pDesc, char* name ); extern void ompi_ddt_dump_stack( dt_stack_t* pStack, int stack_pos, dt_elem_desc_t* pDesc, char* name );
#define SAVE_STACK( PSTACK, INDEX, COUNT, DISP, END_LOOP) \ #define SAVE_STACK( PSTACK, INDEX, COUNT, DISP, END_LOOP) \
do { \ do { \
(PSTACK)->index = (INDEX); \ (PSTACK)->index = (INDEX); \

Просмотреть файл

@ -762,7 +762,7 @@ int ompi_convertor_init_for_send( ompi_convertor_t* pConv,
pConv->pBaseBuf = pUserBuf; pConv->pBaseBuf = pUserBuf;
pConv->available_space = count * (dt->ub - dt->lb); pConv->available_space = count * (dt->ub - dt->lb);
pConv->count = count; pConv->count = count;
pConv->pFunctions = copy_functions; pConv->pFunctions = ompi_ddt_copy_functions;
pConv->converted = 0; pConv->converted = 0;
pConv->bConverted = 0; pConv->bConverted = 0;
pConv->memAlloc_fn = allocfn; pConv->memAlloc_fn = allocfn;

Просмотреть файл

@ -9,7 +9,7 @@
#endif #endif
#include <stdlib.h> #include <stdlib.h>
void dump_stack( dt_stack_t* pStack, int stack_pos, dt_elem_desc_t* pDesc, char* name ) void ompi_ddt_dump_stack( dt_stack_t* pStack, int stack_pos, dt_elem_desc_t* pDesc, char* name )
{ {
printf( "\nStack %p stack_pos %d name %s\n", (void*)pStack, stack_pos, name ); printf( "\nStack %p stack_pos %d name %s\n", (void*)pStack, stack_pos, name );
for( ;stack_pos >= 0; stack_pos-- ) { for( ;stack_pos >= 0; stack_pos-- ) {
@ -448,7 +448,7 @@ int copy_double( unsigned int count,
return res * count; return res * count;
} }
conversion_fct_t copy_functions[DT_MAX_PREDEFINED] = { conversion_fct_t ompi_ddt_copy_functions[DT_MAX_PREDEFINED] = {
(conversion_fct_t)NULL, /* DT_LOOP */ (conversion_fct_t)NULL, /* DT_LOOP */
(conversion_fct_t)NULL, /* DT_LB */ (conversion_fct_t)NULL, /* DT_LB */
(conversion_fct_t)NULL, /* DT_UB */ (conversion_fct_t)NULL, /* DT_UB */
@ -496,7 +496,7 @@ int ompi_convertor_init_for_recv( ompi_convertor_t* pConv, unsigned int flags,
pConv->pBaseBuf = pUserBuf; pConv->pBaseBuf = pUserBuf;
pConv->available_space = count * (pData->ub - pData->lb); pConv->available_space = count * (pData->ub - pData->lb);
pConv->count = count; pConv->count = count;
pConv->pFunctions = copy_functions; pConv->pFunctions = ompi_ddt_copy_functions;
pConv->converted = 0; pConv->converted = 0;
pConv->bConverted = 0; pConv->bConverted = 0;
pConv->fAdvance = ompi_convertor_unpack_homogeneous; /*default behaviour */ pConv->fAdvance = ompi_convertor_unpack_homogeneous; /*default behaviour */

Просмотреть файл

@ -65,7 +65,7 @@ extern ompi_mutex_t ompi_event_lock;
extern volatile sig_atomic_t ompi_evsignal_caught; extern volatile sig_atomic_t ompi_evsignal_caught;
struct selectop { static struct selectop {
int event_fds; /* Highest fd in fd set */ int event_fds; /* Highest fd in fd set */
int event_fdsz; int event_fdsz;
fd_set *event_readset; fd_set *event_readset;

Просмотреть файл

@ -93,7 +93,7 @@ static ompi_list_t pending_pids;
static ompi_list_t registered_cb; static ompi_list_t registered_cb;
static ompi_mutex_t ev_reg_mutex; static ompi_mutex_t ev_reg_mutex;
static volatile bool ev_reg_complete = false; static volatile bool ev_reg_complete = false;
struct ompi_event handler; static struct ompi_event handler;
/********************************************************************* /*********************************************************************