Skip to content

Commit 594657d

Browse files
authored
Merge pull request numpy#26771 from lpsinger/PyArray_ImportNumPyAPI-strict-prototypes
BUG: fix PyArray_ImportNumPyAPI under -Werror=strict-prototypes
2 parents 882611c + 40507ea commit 594657d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/include/numpy/npy_2_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
#ifdef import_array1
7575

7676
static inline int
77-
PyArray_ImportNumPyAPI()
77+
PyArray_ImportNumPyAPI(void)
7878
{
7979
if (NPY_UNLIKELY(PyArray_API == NULL)) {
8080
import_array1(-1);

0 commit comments

Comments
 (0)