From 6833ea6ab29a4789cc267d41fb72bd1b0341a77f Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 16 Feb 2010 16:22:17 +0000 Subject: libvo: Mark functions not used outside of their files as static. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30598 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_directfb2.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'libvo/vo_directfb2.c') diff --git a/libvo/vo_directfb2.c b/libvo/vo_directfb2.c index d2e8a4a7fa..e69c7ae932 100644 --- a/libvo/vo_directfb2.c +++ b/libvo/vo_directfb2.c @@ -138,7 +138,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); } @@ -310,7 +311,7 @@ static int preinit(const char *arg) } -DFBSurfacePixelFormat convformat(uint32_t format) +static DFBSurfacePixelFormat convformat(uint32_t format) { // add more formats !!! switch (format) { @@ -350,9 +351,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; @@ -448,7 +449,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; -- cgit v1.2.3