@@ -45,7 +45,7 @@ static int pg_is_init = 0;
45
45
static bool pg_sdl_was_init = 0 ;
46
46
SDL_Window * pg_default_window = NULL ;
47
47
pgSurfaceObject * pg_default_screen = NULL ;
48
- static int pg_env_blend_alpha_SDL2 = 0 ;
48
+ int pg_env_blend_alpha_SDL2 = 0 ;
49
49
50
50
/* compare compiled to linked, raise python error on incompatibility */
51
51
int
@@ -269,7 +269,7 @@ pg_get_sdl_version(PyObject *self, PyObject *args, PyObject *kwargs)
269
269
SDL_VERSION (& version );
270
270
#endif
271
271
272
- static char * keywords [] = {"linked" , NULL };
272
+ char * keywords [] = {"linked" , NULL };
273
273
274
274
if (!PyArg_ParseTupleAndKeywords (args , kwargs , "|p" , keywords , & linked )) {
275
275
return NULL ; /* Exception already set. */
@@ -1196,15 +1196,15 @@ _pg_buffer_is_byteswapped(Py_buffer *view)
1196
1196
switch (view -> format [0 ]) {
1197
1197
case '<' :
1198
1198
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
1199
- /* Use macros to make static analyzer happy */
1199
+ /* Use macros to make analyzer happy */
1200
1200
return 0 ;
1201
1201
#else
1202
1202
return 1 ;
1203
1203
#endif
1204
1204
case '>' :
1205
1205
case '!' :
1206
1206
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
1207
- /* Use macros to make static analyzer happy */
1207
+ /* Use macros to make analyzer happy */
1208
1208
return 0 ;
1209
1209
#else
1210
1210
return 1 ;
@@ -2011,7 +2011,7 @@ pygame_parachute(int sig)
2011
2011
#endif
2012
2012
}
2013
2013
2014
- static int fatal_signals [] = {
2014
+ int fatal_signals [] = {
2015
2015
SIGSEGV ,
2016
2016
#ifdef SIGBUS
2017
2017
SIGBUS ,
@@ -2083,7 +2083,7 @@ load_submodule(const char *parent, PyObject *mod, const char *alias);
2083
2083
2084
2084
/* bind functions to python */
2085
2085
2086
- static PyMethodDef _base_methods [] = {
2086
+ PyMethodDef _base_methods [] = {
2087
2087
{"init" , (PyCFunction )pg_init , METH_NOARGS , DOC_INIT },
2088
2088
{"quit" , (PyCFunction )pg_quit , METH_NOARGS , DOC_QUIT },
2089
2089
{"get_init" , (PyCFunction )pg_base_get_init , METH_NOARGS , DOC_GETINIT },
0 commit comments