Commit 1e13d93fea3bb8d66d022f9029a711b677919e70

Philipp Wiesemann 2017-05-25T23:01:34

directfb: Changed internal function to be static.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/src/video/directfb/SDL_DirectFB_render.c b/src/video/directfb/SDL_DirectFB_render.c
index 795641a..abece80 100644
--- a/src/video/directfb/SDL_DirectFB_render.c
+++ b/src/video/directfb/SDL_DirectFB_render.c
@@ -332,7 +332,7 @@ DirectFB_WindowEvent(SDL_Renderer * renderer, const SDL_WindowEvent *event)
    }
 }
 
-int
+static int
 DirectFB_RenderClear(SDL_Renderer * renderer)
 {
     DirectFB_RenderData *data = (DirectFB_RenderData *) renderer->driverdata;
@@ -344,7 +344,6 @@ DirectFB_RenderClear(SDL_Renderer * renderer)
 
     destsurf->Clear(destsurf, renderer->r, renderer->g, renderer->b, renderer->a);
 
-
     return 0;
 }