[vlc-commits] commit: gestures: use static when needed. ( =?UTF-8?Q?R=C3=A9mi=20Duraffort=20?=)
git at videolan.org
git at videolan.org
Mon Nov 22 19:08:43 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Nov 22 15:07:12 2010 +0100| [af5900aedc70f8670739bc369098ccb4918e3f90] | committer: Rémi Duraffort
gestures: use static when needed.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af5900aedc70f8670739bc369098ccb4918e3f90
---
modules/control/gestures.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/control/gestures.c b/modules/control/gestures.c
index 61175aa..69ae8e2 100644
--- a/modules/control/gestures.c
+++ b/modules/control/gestures.c
@@ -67,8 +67,8 @@ struct intf_sys_t
#define NONE 0
#define GESTURE( a, b, c, d ) (a | ( b << 4 ) | ( c << 8 ) | ( d << 12 ))
-int Open ( vlc_object_t * );
-void Close ( vlc_object_t * );
+static int Open ( vlc_object_t * );
+static void Close ( vlc_object_t * );
static int MouseEvent ( vlc_object_t *, char const *,
vlc_value_t, vlc_value_t, void * );
@@ -114,7 +114,7 @@ vlc_module_end ()
/*****************************************************************************
* OpenIntf: initialize interface
*****************************************************************************/
-int Open ( vlc_object_t *p_this )
+static int Open ( vlc_object_t *p_this )
{
intf_thread_t *p_intf = (intf_thread_t *)p_this;
@@ -159,7 +159,7 @@ static int gesture( int i_pattern, int i_num )
/*****************************************************************************
* CloseIntf: destroy dummy interface
*****************************************************************************/
-void Close ( vlc_object_t *p_this )
+static void Close ( vlc_object_t *p_this )
{
intf_thread_t *p_intf = (intf_thread_t *)p_this;
More information about the vlc-commits
mailing list