@@ -45,7 +45,7 @@ static int pg_is_init = 0;
4545static bool pg_sdl_was_init = 0 ;
4646SDL_Window * pg_default_window = NULL ;
4747pgSurfaceObject * pg_default_screen = NULL ;
48- static int pg_env_blend_alpha_SDL2 = 0 ;
48+ int pg_env_blend_alpha_SDL2 = 0 ;
4949
5050/* compare compiled to linked, raise python error on incompatibility */
5151int
@@ -269,7 +269,7 @@ pg_get_sdl_version(PyObject *self, PyObject *args, PyObject *kwargs)
269269 SDL_VERSION (& version );
270270#endif
271271
272- static char * keywords [] = {"linked" , NULL };
272+ char * keywords [] = {"linked" , NULL };
273273
274274 if (!PyArg_ParseTupleAndKeywords (args , kwargs , "|p" , keywords , & linked )) {
275275 return NULL ; /* Exception already set. */
@@ -1196,15 +1196,15 @@ _pg_buffer_is_byteswapped(Py_buffer *view)
11961196 switch (view -> format [0 ]) {
11971197 case '<' :
11981198#if SDL_BYTEORDER == SDL_LIL_ENDIAN
1199- /* Use macros to make static analyzer happy */
1199+ /* Use macros to make analyzer happy */
12001200 return 0 ;
12011201#else
12021202 return 1 ;
12031203#endif
12041204 case '>' :
12051205 case '!' :
12061206#if SDL_BYTEORDER == SDL_BIG_ENDIAN
1207- /* Use macros to make static analyzer happy */
1207+ /* Use macros to make analyzer happy */
12081208 return 0 ;
12091209#else
12101210 return 1 ;
@@ -2011,7 +2011,7 @@ pygame_parachute(int sig)
20112011#endif
20122012}
20132013
2014- static int fatal_signals [] = {
2014+ int fatal_signals [] = {
20152015 SIGSEGV ,
20162016#ifdef SIGBUS
20172017 SIGBUS ,
@@ -2083,7 +2083,7 @@ load_submodule(const char *parent, PyObject *mod, const char *alias);
20832083
20842084/* bind functions to python */
20852085
2086- static PyMethodDef _base_methods [] = {
2086+ PyMethodDef _base_methods [] = {
20872087 {"init" , (PyCFunction )pg_init , METH_NOARGS , DOC_INIT },
20882088 {"quit" , (PyCFunction )pg_quit , METH_NOARGS , DOC_QUIT },
20892089 {"get_init" , (PyCFunction )pg_base_get_init , METH_NOARGS , DOC_GETINIT },
0 commit comments