summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2022-12-14 17:44:46 -0500
committerGitHub <noreply@github.com>2022-12-14 17:44:46 -0500
commit586eb35b67a884b7193fae4ec20975c420c2b354 (patch)
treed52dcf6f8a20f59505f96ac705c15c8af7be5710
parent29255bb76637fbff65f7245cc41b18c984dcb742 (diff)
parent26ffc8b928b8ea390a0c401f064a04246efe2ae7 (diff)
downloadnumpy-586eb35b67a884b7193fae4ec20975c420c2b354.tar.gz
Merge pull request #22801 from ngoldbaum/rm-forward-declare
MAINT: remove unnecessary forward declaration of _convert_from_any
-rw-r--r--numpy/core/src/multiarray/descriptor.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/core/src/multiarray/descriptor.c b/numpy/core/src/multiarray/descriptor.c
index d1973442a..ecaa6834c 100644
--- a/numpy/core/src/multiarray/descriptor.c
+++ b/numpy/core/src/multiarray/descriptor.c
@@ -74,9 +74,6 @@ _try_convert_from_ctypes_type(PyTypeObject *type)
return (PyArray_Descr *)res;
}
-static PyArray_Descr *
-_convert_from_any(PyObject *obj, int align);
-
/*
* This function creates a dtype object when the object has a "dtype" attribute,
* and it can be converted to a dtype object.