[Commits] SDL: directfb: Fixed compiler warnings about undefined functions.

libsdl.org revision control commits-owner at libsdl.org
Sat May 13 14:07:50 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/898888ce469a
changeset: 11004:898888ce469a
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Sat May 13 23:00:53 2017 +0200
description:
directfb: Fixed compiler warnings about undefined functions.

diffstat:

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

diffs (25 lines):

diff -r ced20e690a19 -r 898888ce469a src/video/directfb/SDL_DirectFB_mouse.c
--- a/src/video/directfb/SDL_DirectFB_mouse.c	Sat May 13 23:00:35 2017 +0200
+++ b/src/video/directfb/SDL_DirectFB_mouse.c	Sat May 13 23:00:53 2017 +0200
@@ -36,10 +36,8 @@
 static SDL_Cursor *DirectFB_CreateCursor(SDL_Surface * surface,
                                          int hot_x, int hot_y);
 static int DirectFB_ShowCursor(SDL_Cursor * cursor);
-static void DirectFB_MoveCursor(SDL_Cursor * cursor);
 static void DirectFB_FreeCursor(SDL_Cursor * cursor);
 static void DirectFB_WarpMouse(SDL_Window * window, int x, int y);
-static void DirectFB_FreeMouse(SDL_Mouse * mouse);
 
 static const char *arrow[] = {
     /* pixels */
@@ -248,8 +246,10 @@
 
 #if USE_MULTI_API
 
+static void DirectFB_MoveCursor(SDL_Cursor * cursor);
 static void DirectFB_WarpMouse(SDL_Mouse * mouse, SDL_Window * window,
                                int x, int y);
+static void DirectFB_FreeMouse(SDL_Mouse * mouse);
 
 static int id_mask;
 


More information about the commits mailing list