Skip to content

Commit d59226c

Browse files
authored
Merge pull request #36 from wkliao/redeclare
Fix build warnings: data type redeclared
2 parents 376fa67 + 69de124 commit d59226c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/pnetcdf/_Dimension.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ from ._File cimport File
99
from ._utils cimport _strencode, _check_err
1010
cimport mpi4py.MPI as MPI
1111

12-
ctypedef MPI.Offset Offset
13-
14-
1512
from libc.string cimport memcpy, memset
1613
from libc.stdlib cimport malloc, free
17-
from mpi4py.libmpi cimport MPI_Offset
1814

1915
include "PnetCDF.pxi"
2016

src/pnetcdf/_utils.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
#
66
###############################################################################
77

8-
include "PnetCDF.pxi"
98
from ._File cimport File
109
from cpython.mem cimport PyMem_Malloc, PyMem_Free
1110
import numpy as np
1211
from numpy.lib.stride_tricks import as_strided
1312
from libc.stdlib cimport malloc, free
14-
from mpi4py.libmpi cimport MPI_Offset
1513
from mpi4py import MPI
1614

1715

0 commit comments

Comments
 (0)