From 1e13d93fea3bb8d66d022f9029a711b677919e70 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 25 May 2017 23:01:34 +0200 Subject: [PATCH] directfb: Changed internal function to be static. --- src/video/directfb/SDL_DirectFB_render.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video/directfb/SDL_DirectFB_render.c b/src/video/directfb/SDL_DirectFB_render.c index 795641a13..abece8036 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; }