Skip to content

Commit 266cdbe

Browse files
shadchincharris
authored andcommitted
BLD: Avoiding conflict with pygit2 for static build (#30585)
Need to use `static` for local functions and struct definitions.
1 parent b437f7a commit 266cdbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

numpy/_core/src/umath/_rational_tests.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ rational_ufunc_test_add_rationals(char** args, npy_intp const *dimensions,
10971097
}
10981098

10991099

1100-
PyMethodDef module_methods[] = {
1100+
static PyMethodDef module_methods[] = {
11011101
{0} /* sentinel */
11021102
};
11031103

0 commit comments

Comments
 (0)