[Commits] SDL: directfb: Changed internal function to be static.

libsdl.org revision control commits-owner at libsdl.org
Thu May 25 14:10:38 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/d4d9c2a86db1
changeset: 11032:d4d9c2a86db1
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Thu May 25 23:01:34 2017 +0200
description:
directfb: Changed internal function to be static.

diffstat:

 src/video/directfb/SDL_DirectFB_render.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r b1475dc05bd0 -r d4d9c2a86db1 src/video/directfb/SDL_DirectFB_render.c
--- a/src/video/directfb/SDL_DirectFB_render.c	Thu May 25 23:01:16 2017 +0200
+++ b/src/video/directfb/SDL_DirectFB_render.c	Thu May 25 23:01:34 2017 +0200
@@ -332,7 +332,7 @@
    }
 }
 
-int
+static int
 DirectFB_RenderClear(SDL_Renderer * renderer)
 {
     DirectFB_RenderData *data = (DirectFB_RenderData *) renderer->driverdata;
@@ -344,7 +344,6 @@
 
     destsurf->Clear(destsurf, renderer->r, renderer->g, renderer->b, renderer->a);
 
-
     return 0;
 }
 


More information about the commits mailing list