mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 13:43:47 +08:00
declare local functions as static (#5037)
Co-authored-by: Michiel Jan Laurens de Hoon <mdehoon@Michiels-MacBook-Air.local>
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void
|
||||
static void
|
||||
integer_unpack_u8(Py_buffer *in_view, Py_buffer *out_view)
|
||||
{
|
||||
Py_ssize_t in_size = in_view->shape[0];
|
||||
@ -33,7 +33,7 @@ integer_unpack_u8(Py_buffer *in_view, Py_buffer *out_view)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
integer_unpack_u16(Py_buffer *in_view, Py_buffer *out_view)
|
||||
{
|
||||
Py_ssize_t in_size = in_view->shape[0];
|
||||
@ -63,7 +63,7 @@ integer_unpack_u16(Py_buffer *in_view, Py_buffer *out_view)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
integer_unpack_i8(Py_buffer *in_view, Py_buffer *out_view)
|
||||
{
|
||||
Py_ssize_t in_size = in_view->shape[0];
|
||||
@ -93,7 +93,7 @@ integer_unpack_i8(Py_buffer *in_view, Py_buffer *out_view)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
integer_unpack_i16(Py_buffer *in_view, Py_buffer *out_view)
|
||||
{
|
||||
Py_ssize_t in_size = in_view->shape[0];
|
||||
|
@ -673,7 +673,7 @@ findPath(
|
||||
}
|
||||
|
||||
// Main Function
|
||||
PyObject *
|
||||
static PyObject *
|
||||
PyCealign(PyObject *Py_UNUSED(self), PyObject *args)
|
||||
{
|
||||
int fragmentSize = 8;
|
||||
|
Reference in New Issue
Block a user