From 6ce62a25bbd2b1532d7a1c2c92d4c31763c53582 Mon Sep 17 00:00:00 2001 From: Alexander Shadchin Date: Tue, 6 Jan 2026 13:19:46 +0300 Subject: [PATCH] Avoiding conflict with numpy for static build --- src/pygit2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pygit2.c b/src/pygit2.c index 215d2a2f..96cec5f1 100644 --- a/src/pygit2.c +++ b/src/pygit2.c @@ -408,7 +408,7 @@ free_module(void *self) } -PyMethodDef module_methods[] = { +static PyMethodDef module_methods[] = { {"discover_repository", discover_repository, METH_VARARGS, discover_repository__doc__}, {"hash", hash, METH_VARARGS, hash__doc__}, {"hashfile", hashfile, METH_VARARGS, hashfile__doc__},