[PATCH 2/2] window: make window_create_surface static
Tiago Vignatti
tiago.vignatti at intel.com
Wed Mar 28 10:56:49 PDT 2012
Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
clients/window.c | 2 +-
clients/window.h | 3 ---
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index 75e3b84..ef76cf3 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -825,7 +825,7 @@ window_get_display(struct window *window)
return window->display;
}
-void
+static void
window_create_surface(struct window *window)
{
cairo_surface_t *surface;
diff --git a/clients/window.h b/clients/window.h
index e6b7b4b..6b6b6a4 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -248,9 +248,6 @@ window_flush(struct window *window);
void
window_set_surface(struct window *window, cairo_surface_t *surface);
-void
-window_create_surface(struct window *window);
-
enum window_buffer_type {
WINDOW_BUFFER_TYPE_EGL_WINDOW,
WINDOW_BUFFER_TYPE_EGL_IMAGE,
--
1.7.5.4
More information about the wayland-devel
mailing list