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

libsdl.org revision control commits-owner at libsdl.org
Sun May 7 12:10:20 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/0283fa2192cd
changeset: 10993:0283fa2192cd
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Sun May 07 21:02:31 2017 +0200
description:
haiku: Changed internal function to be static.

diffstat:

 src/video/haiku/SDL_bframebuffer.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 57a9841b0259 -r 0283fa2192cd src/video/haiku/SDL_bframebuffer.cc
--- a/src/video/haiku/SDL_bframebuffer.cc	Sun May 07 21:02:16 2017 +0200
+++ b/src/video/haiku/SDL_bframebuffer.cc	Sun May 07 21:02:31 2017 +0200
@@ -35,7 +35,7 @@
 extern "C" {
 #endif
 
-int32 BE_UpdateOnce(SDL_Window *window);
+static int32 BE_UpdateOnce(SDL_Window *window);
 
 static SDL_INLINE SDL_BWin *_ToBeWin(SDL_Window *window) {
 	return ((SDL_BWin*)(window->driverdata));
@@ -200,7 +200,7 @@
  * The specific issues have since become rare enough that they may have been
  * solved, but I doubt it- they were pretty sporadic before now.
  */
-int32 BE_UpdateOnce(SDL_Window *window) {
+static int32 BE_UpdateOnce(SDL_Window *window) {
 	SDL_BWin *bwin = _ToBeWin(window);
 	BScreen bscreen;
 	if(!bscreen.IsValid()) {


More information about the commits mailing list