Skip to content

Commit 6ce62a2

Browse files
authored
Avoiding conflict with numpy for static build
1 parent 5735462 commit 6ce62a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pygit2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ free_module(void *self)
408408
}
409409

410410

411-
PyMethodDef module_methods[] = {
411+
static PyMethodDef module_methods[] = {
412412
{"discover_repository", discover_repository, METH_VARARGS, discover_repository__doc__},
413413
{"hash", hash, METH_VARARGS, hash__doc__},
414414
{"hashfile", hashfile, METH_VARARGS, hashfile__doc__},

0 commit comments

Comments
 (0)