summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-21 22:48:13 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-21 22:48:13 +0100
commitc8702e06c405581ee4265b5a40011fb74b8e6bb6 (patch)
treebc7c5d3be36072c757e7af7999a44f2f95243e5a
parent25a54fc391b06e8b9f7e0c8cdb25ef5b1bcd3551 (diff)
directdraw: Fix warnings
-rw-r--r--sys/directdraw/gstdirectdrawsink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c
index 8f73e28d1..66ebf2085 100644
--- a/sys/directdraw/gstdirectdrawsink.c
+++ b/sys/directdraw/gstdirectdrawsink.c
@@ -302,7 +302,7 @@ gst_ddrawsurface_class_init (gpointer g_class, gpointer class_data)
mini_object_class->finalize = GST_DEBUG_FUNCPTR (gst_ddrawsurface_finalize);
}
-GType
+static GType
gst_ddrawsurface_get_type (void)
{
static GType _gst_ddrawsurface_type;
@@ -1390,7 +1390,7 @@ gst_directdraw_sink_setup_ddraw (GstDirectDrawSink * ddrawsink)
return bRet;
}
-long FAR PASCAL
+static long FAR PASCAL
WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) {
@@ -1737,7 +1737,7 @@ gst_directdraw_sink_get_depth (LPDDPIXELFORMAT lpddpfPixelFormat)
return order;
}
-HRESULT WINAPI
+static HRESULT WINAPI
EnumModesCallback2 (LPDDSURFACEDESC lpDDSurfaceDesc, LPVOID lpContext)
{
GstDirectDrawSink *ddrawsink = (GstDirectDrawSink *) lpContext;