From 57da3d9337b22b33cdc123c3b9f4bb97bf372ba4 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Thu, 2 Oct 2014 11:09:14 +0200 Subject: [PATCH] [smpi] Leave the underlying structure of MPI_File opaque --- include/smpi/smpi.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index 517ecb7ed6..a2db68b8d3 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -155,14 +155,8 @@ typedef enum MPIR_Topo_type { typedef ptrdiff_t MPI_Aint; typedef long long MPI_Offset; -// To compile code that declare MPI_File variables -struct s_empty { -#if !defined(__GNUC__) || defined(__STRICT_ANSI__) - char empty; -#endif -}; -typedef struct s_empty *MPI_File; - +struct s_MPI_File; +typedef struct s_MPI_File *MPI_File; struct s_smpi_mpi_datatype; typedef struct s_smpi_mpi_datatype *MPI_Datatype; -- 2.20.1