summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/multiarray/descriptor.c2
-rw-r--r--numpy/core/src/multiarray/descriptor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/multiarray/descriptor.c b/numpy/core/src/multiarray/descriptor.c
index 88eb321ec..b55f3ec1c 100644
--- a/numpy/core/src/multiarray/descriptor.c
+++ b/numpy/core/src/multiarray/descriptor.c
@@ -158,7 +158,7 @@ _try_convert_from_dtype_attr(PyObject *obj)
/* Expose to another file with a prefixed name */
NPY_NO_EXPORT PyArray_Descr *
-arraydescr_try_convert_from_dtype_attr(PyObject *obj)
+_arraydescr_try_convert_from_dtype_attr(PyObject *obj)
{
return _try_convert_from_dtype_attr(obj);
}
diff --git a/numpy/core/src/multiarray/descriptor.h b/numpy/core/src/multiarray/descriptor.h
index f8265092b..fc9e0895b 100644
--- a/numpy/core/src/multiarray/descriptor.h
+++ b/numpy/core/src/multiarray/descriptor.h
@@ -7,7 +7,7 @@ NPY_NO_EXPORT PyObject *arraydescr_protocol_descr_get(PyArray_Descr *self);
NPY_NO_EXPORT PyObject *
array_set_typeDict(PyObject *NPY_UNUSED(ignored), PyObject *args);
-PyArray_Descr *
+NPY_NO_EXPORT PyArray_Descr *
_arraydescr_try_convert_from_dtype_attr(PyObject *obj);