@@ -236,8 +236,8 @@ PyDoc_STRVAR(zlib_compress__doc__,
236
236
static PyObject *
237
237
isal_zlib_compress (PyObject * module , PyObject * args , PyObject * kwargs )
238
238
{
239
- char * keywords [] = {"" , "level" , "wbits" , NULL };
240
- char * format = "y*|ii:isal_zlib.compress" ;
239
+ static char * keywords [] = {"" , "level" , "wbits" , NULL };
240
+ static char * format = "y*|ii:isal_zlib.compress" ;
241
241
Py_buffer data = {NULL , NULL };
242
242
int level = ISAL_DEFAULT_COMPRESSION ;
243
243
int wbits = ISAL_DEF_MAX_HIST_BITS ;
@@ -281,8 +281,8 @@ static PyObject *
281
281
isal_zlib_decompress (PyObject * module , PyObject * args , PyObject * kwargs )
282
282
{
283
283
PyObject * return_value = NULL ;
284
- char * keywords [] = {"" , "wbits" , "bufsize" , NULL };
285
- char * format = "y*|in:isal_zlib.decompress" ;
284
+ static char * keywords [] = {"" , "wbits" , "bufsize" , NULL };
285
+ static char * format = "y*|in:isal_zlib.decompress" ;
286
286
Py_buffer data = {NULL , NULL };
287
287
int wbits = ISAL_DEF_MAX_HIST_BITS ;
288
288
Py_ssize_t bufsize = DEF_BUF_SIZE ;
@@ -870,8 +870,8 @@ static PyObject *
870
870
isal_zlib_compressobj (PyObject * module , PyObject * args , PyObject * kwargs )
871
871
{
872
872
PyObject * return_value = NULL ;
873
- char * keywords [] = {"level" , "method" , "wbits" , "memLevel" , "strategy" , "zdict" , NULL };
874
- char * format = "|iiiiiy*:compressobj" ;
873
+ static char * keywords [] = {"level" , "method" , "wbits" , "memLevel" , "strategy" , "zdict" , NULL };
874
+ static char * format = "|iiiiiy*:compressobj" ;
875
875
int level = ISAL_DEFAULT_COMPRESSION ;
876
876
int method = Z_DEFLATED ;
877
877
int wbits = ISAL_DEF_MAX_HIST_BITS ;
@@ -907,8 +907,8 @@ PyDoc_STRVAR(isal_zlib_decompressobj__doc__,
907
907
static PyObject *
908
908
isal_zlib_decompressobj (PyObject * module , PyObject * args , PyObject * kwargs )
909
909
{
910
- char * keywords [] = {"wbits" , "zdict" , NULL };
911
- char * format = "|iO:decompressobj" ;
910
+ static char * keywords [] = {"wbits" , "zdict" , NULL };
911
+ static char * format = "|iO:decompressobj" ;
912
912
int wbits = ISAL_DEF_MAX_HIST_BITS ;
913
913
PyObject * zdict = NULL ;
914
914
@@ -973,8 +973,8 @@ PyDoc_STRVAR(isal_zlib_Decompress_decompress__doc__,
973
973
static PyObject *
974
974
isal_zlib_Decompress_decompress (decompobject * self , PyObject * args , PyObject * kwargs )
975
975
{
976
- char * keywords [] = {"" , "max_length" , NULL };
977
- char * format = "y*|n:decompress" ;
976
+ static char * keywords [] = {"" , "max_length" , NULL };
977
+ static char * format = "y*|n:decompress" ;
978
978
979
979
Py_buffer data = {NULL , NULL };
980
980
Py_ssize_t max_length = 0 ;
0 commit comments