summaryrefslogtreecommitdiffstats
path: root/libvo/vo_directfb2.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-06-29 11:43:19 +0300
committerUoti Urpala <uau@mplayer2.org>2011-06-29 11:43:19 +0300
commit48891debe232da0de062ac248a36c8257c1633ac (patch)
treeab989eca596b0d9a8cd64e7984b4dcaf3fb3505f /libvo/vo_directfb2.c
parenta77e5f07ed513233314c18f3e45490fdfa11f6ba (diff)
downloadmpv-48891debe232da0de062ac248a36c8257c1633ac.tar.bz2
mpv-48891debe232da0de062ac248a36c8257c1633ac.tar.xz
cleanup: mark some vo_directfb2.c and vo_s3fb.c functions static
Diffstat (limited to 'libvo/vo_directfb2.c')
-rw-r--r--libvo/vo_directfb2.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/libvo/vo_directfb2.c b/libvo/vo_directfb2.c
index ae15918b53..d21c9e37c6 100644
--- a/libvo/vo_directfb2.c
+++ b/libvo/vo_directfb2.c
@@ -122,7 +122,8 @@ static int field_parity = -1;
* implementation *
******************************/
-void unlock(void) {
+static void unlock(void)
+{
if (frame && framelocked) frame->Unlock(frame);
if (primary && primarylocked) primary->Unlock(primary);
}
@@ -288,7 +289,7 @@ static int preinit(const char *arg)
}
-DFBSurfacePixelFormat convformat(uint32_t format)
+static DFBSurfacePixelFormat convformat(uint32_t format)
{
// add more formats !!!
switch (format) {
@@ -325,9 +326,9 @@ unsigned int height;
int setsize;
} enum1_t;
-DFBEnumerationResult test_format_callback( unsigned int id,
- DFBDisplayLayerDescription desc,
- void *data)
+static DFBEnumerationResult test_format_callback(unsigned int id,
+ DFBDisplayLayerDescription desc,
+ void *data)
{
enum1_t *params =(enum1_t *)data;
IDirectFBDisplayLayer *layer;
@@ -423,7 +424,8 @@ int bpp;
} videomode_t;
-DFBEnumerationResult video_modes_callback( int width,int height,int bpp, void *data)
+static DFBEnumerationResult video_modes_callback(int width, int height,
+ int bpp, void *data)
{
videomode_t *params =(videomode_t *)data;