1
1

Remove OMPI_DECLSPEC from the typedefs.

This commit was SVN r3288.
Этот коммит содержится в:
George Bosilca 2004-10-22 17:47:53 +00:00
родитель dcd086fd4c
Коммит 72bc6ad0a6

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

@ -60,32 +60,30 @@ typedef struct ompi_status_public_t ompi_status_public_t;
/*
* User typedefs
*/
OMPI_DECLSPEC typedef int (MPI_Copy_function)(MPI_Comm, int, void *,
typedef int (MPI_Copy_function)(MPI_Comm, int, void *,
void *, void *, int *);
OMPI_DECLSPEC typedef int (MPI_Delete_function)(MPI_Comm, int, void *, void *);
OMPI_DECLSPEC typedef int (MPI_Datarep_extent_function)(MPI_Datatype, MPI_Aint *,
void *);
OMPI_DECLSPEC typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype,
int, void *, MPI_Offset,
void *);
OMPI_DECLSPEC typedef void (MPI_Comm_errhandler_fn)(MPI_Comm *, int *, ...);
OMPI_DECLSPEC typedef void (MPI_File_errhandler_fn)(MPI_File *, int *, ...);
OMPI_DECLSPEC typedef void (MPI_Win_errhandler_fn)(MPI_Win *, int *, ...);
OMPI_DECLSPEC typedef void (MPI_Handler_function)(MPI_Comm *, int *, ...);
OMPI_DECLSPEC typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
OMPI_DECLSPEC typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *,
typedef int (MPI_Delete_function)(MPI_Comm, int, void *, void *);
typedef int (MPI_Datarep_extent_function)(MPI_Datatype, MPI_Aint *, void *);
typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype,
int, void *, MPI_Offset, void *);
typedef void (MPI_Comm_errhandler_fn)(MPI_Comm *, int *, ...);
typedef void (MPI_File_errhandler_fn)(MPI_File *, int *, ...);
typedef void (MPI_Win_errhandler_fn)(MPI_Win *, int *, ...);
typedef void (MPI_Handler_function)(MPI_Comm *, int *, ...);
typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *,
void *, void *, int *);
OMPI_DECLSPEC typedef int (MPI_Comm_delete_attr_function)(MPI_Comm, int, void *, void *);
OMPI_DECLSPEC typedef int (MPI_Type_copy_attr_function)(MPI_Datatype, int, void *,
typedef int (MPI_Comm_delete_attr_function)(MPI_Comm, int, void *, void *);
typedef int (MPI_Type_copy_attr_function)(MPI_Datatype, int, void *,
void *, void *, int *);
OMPI_DECLSPEC typedef int (MPI_Type_delete_attr_function)(MPI_Datatype, int,
typedef int (MPI_Type_delete_attr_function)(MPI_Datatype, int,
void *, void *);
OMPI_DECLSPEC typedef int (MPI_Win_copy_attr_function)(MPI_Win, int, void *,
typedef int (MPI_Win_copy_attr_function)(MPI_Win, int, void *,
void *, void *, int *);
OMPI_DECLSPEC typedef int (MPI_Win_delete_attr_function)(MPI_Win, int, void *, void *);
OMPI_DECLSPEC typedef int (MPI_Grequest_query_function)(void *, MPI_Status *);
OMPI_DECLSPEC typedef int (MPI_Grequest_free_function)(void *);
OMPI_DECLSPEC typedef int (MPI_Grequest_cancel_function)(void *, int);
typedef int (MPI_Win_delete_attr_function)(MPI_Win, int, void *, void *);
typedef int (MPI_Grequest_query_function)(void *, MPI_Status *);
typedef int (MPI_Grequest_free_function)(void *);
typedef int (MPI_Grequest_cancel_function)(void *, int);
/*
* Miscellaneous constants
@ -658,18 +656,18 @@ OMPI_DECLSPEC int MPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf,
int count, MPI_Datatype datatype, MPI_Request *request);
OMPI_DECLSPEC int MPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, void *buf,
int count, MPI_Datatype datatype, MPI_Request *request);
OMPI_DECLSPEC int MPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Status *status);
OMPI_DECLSPEC int MPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Status *status);
OMPI_DECLSPEC int MPI_File_write(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Status *status);
OMPI_DECLSPEC int MPI_File_write_all(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Status *status);
OMPI_DECLSPEC int MPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Request *request);
OMPI_DECLSPEC int MPI_File_iwrite(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Request *request);
OMPI_DECLSPEC int MPI_File_read(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Status *status);
OMPI_DECLSPEC int MPI_File_read_all(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Status *status);
OMPI_DECLSPEC int MPI_File_write(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Status *status);
OMPI_DECLSPEC int MPI_File_write_all(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Status *status);
OMPI_DECLSPEC int MPI_File_iread(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Request *request);
OMPI_DECLSPEC int MPI_File_iwrite(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Request *request);
OMPI_DECLSPEC int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence);
OMPI_DECLSPEC int MPI_File_get_position(MPI_File fh, MPI_Offset *offset);
OMPI_DECLSPEC int MPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset,
@ -711,7 +709,7 @@ OMPI_DECLSPEC int MPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype,
OMPI_DECLSPEC int MPI_File_set_atomicity(MPI_File fh, int flag);
OMPI_DECLSPEC int MPI_File_get_atomicity(MPI_File fh, int *flag);
OMPI_DECLSPEC int MPI_File_sync(MPI_File fh);
/*
/*
* file functions end
*/
OMPI_DECLSPEC int MPI_Finalize(void);
@ -725,8 +723,7 @@ OMPI_DECLSPEC int MPI_Gatherv(void *sendbuf, int sendcount, MPI_Datatype sendty
MPI_Datatype recvtype, int root, MPI_Comm comm);
OMPI_DECLSPEC int MPI_Get_address(void *location, MPI_Aint *address);
OMPI_DECLSPEC int MPI_Get_count(MPI_Status *status, MPI_Datatype datatype, int *count);
OMPI_DECLSPEC int MPI_Get_elements(MPI_Status *status, MPI_Datatype datatype,
int *count);
OMPI_DECLSPEC int MPI_Get_elements(MPI_Status *status, MPI_Datatype datatype, int *count);
OMPI_DECLSPEC int MPI_Get(void *origin_addr, int origin_count,
MPI_Datatype origin_datatype, int target_rank,
MPI_Aint target_disp, int target_count,
@ -811,8 +808,7 @@ OMPI_DECLSPEC int MPI_Keyval_create(MPI_Copy_function *copy_fn,
OMPI_DECLSPEC int MPI_Keyval_free(int *keyval);
OMPI_DECLSPEC int MPI_Lookup_name(char *service_name, MPI_Info info, char *port_name);
OMPI_DECLSPEC MPI_Fint MPI_Op_c2f(MPI_Op op);
OMPI_DECLSPEC int MPI_Op_create(MPI_User_function *function, int commute,
MPI_Op *op);
OMPI_DECLSPEC int MPI_Op_create(MPI_User_function *function, int commute, MPI_Op *op);
OMPI_DECLSPEC int MPI_Open_port(MPI_Info info, char *port_name);
OMPI_DECLSPEC MPI_Op MPI_Op_f2c(MPI_Fint op);
OMPI_DECLSPEC int MPI_Op_free(MPI_Op *op);
@ -979,8 +975,7 @@ OMPI_DECLSPEC int MPI_Type_vector(int count, int blocklength, int stride,
OMPI_DECLSPEC int MPI_Unpack(void *inbuf, int insize, int *position,
void *outbuf, int outcount, MPI_Datatype datatype,
MPI_Comm comm);
OMPI_DECLSPEC int MPI_Unpublish_name(char *service_name, MPI_Info info,
char *port_name);
OMPI_DECLSPEC int MPI_Unpublish_name(char *service_name, MPI_Info info, char *port_name);
OMPI_DECLSPEC int MPI_Unpack_external (char *datarep, void *inbuf, MPI_Aint insize,
MPI_Aint *position, void *outbuf, int outcount,
MPI_Datatype datatype);
@ -1169,18 +1164,18 @@ OMPI_DECLSPEC int PMPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf,
int count, MPI_Datatype datatype, MPI_Request *request);
OMPI_DECLSPEC int PMPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, void *buf,
int count, MPI_Datatype datatype, MPI_Request *request);
OMPI_DECLSPEC int PMPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Status *status);
OMPI_DECLSPEC int PMPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Status *status);
OMPI_DECLSPEC int PMPI_File_write(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Status *status);
OMPI_DECLSPEC int PMPI_File_write_all(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Status *status);
OMPI_DECLSPEC int PMPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Request *request);
OMPI_DECLSPEC int PMPI_File_iwrite(MPI_File fh, void *buf, int count, MPI_Datatype
datatype, MPI_Request *request);
OMPI_DECLSPEC int PMPI_File_read(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Status *status);
OMPI_DECLSPEC int PMPI_File_read_all(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Status *status);
OMPI_DECLSPEC int PMPI_File_write(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Status *status);
OMPI_DECLSPEC int PMPI_File_write_all(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Status *status);
OMPI_DECLSPEC int PMPI_File_iread(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Request *request);
OMPI_DECLSPEC int PMPI_File_iwrite(MPI_File fh, void *buf, int count,
MPI_Datatype datatype, MPI_Request *request);
OMPI_DECLSPEC int PMPI_File_seek(MPI_File fh, MPI_Offset offset, int whence);
OMPI_DECLSPEC int PMPI_File_get_position(MPI_File fh, MPI_Offset *offset);
OMPI_DECLSPEC int PMPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset,