This function can be static.
1.1 --- a/src/video/x11/SDL_x11opengl.c Sun Apr 05 18:59:52 2015 -0400
1.2 +++ b/src/video/x11/SDL_x11opengl.c Mon Apr 06 00:10:54 2015 -0400
1.3 @@ -392,7 +392,7 @@
1.4 /* glXChooseVisual and glXChooseFBConfig have some small differences in
1.5 * the attribute encoding, it can be chosen with the for_FBConfig parameter.
1.6 */
1.7 -int
1.8 +static int
1.9 X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int size, Bool for_FBConfig)
1.10 {
1.11 int i = 0;