summaryrefslogtreecommitdiff
path: root/numpy/core/src/multiarraymodule.c
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2009-04-09 05:46:52 +0000
committerCharles Harris <charlesr.harris@gmail.com>2009-04-09 05:46:52 +0000
commitbc936c7253108e2e2d39860841821ec128922c8c (patch)
tree2a1623670b9561495e390c620794c12bc0721953 /numpy/core/src/multiarraymodule.c
parent942b09dec6f5859bc8f058b638fada06c1de3322 (diff)
downloadnumpy-bc936c7253108e2e2d39860841821ec128922c8c.tar.gz
Nuke obsolete register keyword in c sources.
Diffstat (limited to 'numpy/core/src/multiarraymodule.c')
-rw-r--r--numpy/core/src/multiarraymodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c
index 54bba9d08..99e29da32 100644
--- a/numpy/core/src/multiarraymodule.c
+++ b/numpy/core/src/multiarraymodule.c
@@ -112,7 +112,7 @@ static PyObject *MultiArrayError;
* Multiply a List of ints
*/
static int
-PyArray_MultiplyIntList(register int *l1, register int n)
+PyArray_MultiplyIntList(int *l1, int n)
{
int s = 1;
@@ -126,7 +126,7 @@ PyArray_MultiplyIntList(register int *l1, register int n)
* Multiply a List
*/
static intp
-PyArray_MultiplyList(register intp *l1, register int n)
+PyArray_MultiplyList(intp *l1, int n)
{
intp s = 1;
@@ -165,7 +165,7 @@ PyArray_OverflowMultiplyList(intp *l1, int n)
* Produce a pointer into array
*/
static void *
-PyArray_GetPtr(PyArrayObject *obj, register intp* ind)
+PyArray_GetPtr(PyArrayObject *obj, intp* ind)
{
int n = obj->nd;
intp *strides = obj->strides;
@@ -4879,7 +4879,7 @@ PyArray_ClipmodeConverter(PyObject *object, NPY_CLIPMODE *val)
static int
PyArray_TypestrConvert(int itemsize, int gentype)
{
- register int newtype = gentype;
+ int newtype = gentype;
if (gentype == PyArray_GENBOOLLTR) {
if (itemsize == 1) {