소스 검색

This function can be static.

Ryan C. Gordon 11 년 전
부모
커밋
83aeb31d12
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/video/x11/SDL_x11opengl.c

+ 1 - 1
src/video/x11/SDL_x11opengl.c

@@ -392,7 +392,7 @@ X11_GL_InitExtensions(_THIS)
 /* glXChooseVisual and glXChooseFBConfig have some small differences in
  * the attribute encoding, it can be chosen with the for_FBConfig parameter.
  */
-int
+static int
 X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int size, Bool for_FBConfig)
 {
     int i = 0;