diff options
author | chanley <chanley@gmail.com> | 2006-06-20 15:55:02 +0000 |
---|---|---|
committer | chanley <chanley@gmail.com> | 2006-06-20 15:55:02 +0000 |
commit | a44ae084ed7ceb38be0cfc0ad6a3ab405242ce0c (patch) | |
tree | 51811e198680cf7baceb96c2cba3cd897e8a67a8 /numpy/numarray/_capi.c | |
parent | d33a8f627aee89c08c54e2f8cd37ecb888e5aca1 (diff) | |
download | numpy-a44ae084ed7ceb38be0cfc0ad6a3ab405242ce0c.tar.gz |
Fixed build problem with Solaris compilers. Needed to remove return values from void functions in numarray c-api.
Diffstat (limited to 'numpy/numarray/_capi.c')
-rw-r--r-- | numpy/numarray/_capi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/numarray/_capi.c b/numpy/numarray/_capi.c index ee4099b4c..d08b847e7 100644 --- a/numpy/numarray/_capi.c +++ b/numpy/numarray/_capi.c @@ -2776,20 +2776,20 @@ NA_NewAllFromBuffer(int ndim, maybelong *shape, NumarrayType type, static void NA_updateAlignment(PyArrayObject *self) { - return PyArray_UpdateFlags(self, ALIGNED); + PyArray_UpdateFlags(self, ALIGNED); } static void NA_updateContiguous(PyArrayObject *self) { - return PyArray_UpdateFlags(self, CONTIGUOUS | FORTRAN); + PyArray_UpdateFlags(self, CONTIGUOUS | FORTRAN); } static void NA_updateStatus(PyArrayObject *self) { - return PyArray_UpdateFlags(self, UPDATE_ALL_FLAGS); + PyArray_UpdateFlags(self, UPDATE_ALL_FLAGS); } static int |