[waffle] [PATCH 3/8] android: annotate static functions as such
Emil Velikov
emil.l.velikov at gmail.com
Tue Apr 5 22:52:20 UTC 2016
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/waffle/android/droid_surfaceflingerlink.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/waffle/android/droid_surfaceflingerlink.cpp b/src/waffle/android/droid_surfaceflingerlink.cpp
index a0251c1..9930e47 100644
--- a/src/waffle/android/droid_surfaceflingerlink.cpp
+++ b/src/waffle/android/droid_surfaceflingerlink.cpp
@@ -59,7 +59,7 @@ const uint32_t droid_magic_surface_width = 32;
const uint32_t droid_magic_surface_height = 32;
const int32_t droid_magic_surface_z = 0x7FFFFFFF;
-void
+static void
droid_tear_down_surfaceflinger_link(
waffle::droid_surfaceflinger_container* pSFContainer)
{
@@ -74,7 +74,7 @@ droid_tear_down_surfaceflinger_link(
delete pSFContainer;
}
-droid_surfaceflinger_container*
+static droid_surfaceflinger_container*
droid_setup_surfaceflinger_link()
{
bool bRVal;
@@ -100,7 +100,7 @@ error:
return NULL;
}
-void
+static void
droid_destroy_surface(
droid_surfaceflinger_container* pSFContainer,
droid_ANativeWindow_container* pANWContainer)
@@ -111,7 +111,7 @@ droid_destroy_surface(
delete pANWContainer;
}
-droid_ANativeWindow_container*
+static droid_ANativeWindow_container*
droid_setup_surface(
int width,
int height,
@@ -196,7 +196,7 @@ error:
return NULL;
}
-bool
+static bool
droid_show_surface(
droid_surfaceflinger_container* pSFContainer,
droid_ANativeWindow_container* pANWContainer)
@@ -215,7 +215,7 @@ droid_show_surface(
return true;
}
-bool
+static bool
droid_resize_surface(
droid_surfaceflinger_container* pSFContainer,
droid_ANativeWindow_container* pANWContainer,
--
2.8.0
More information about the waffle
mailing list