[vlc-devel] commit: vlc_mutex_trylock() return value must be checked ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu May 21 18:46:35 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 21 19:43:05 2009 +0300| [bd78a9944361cbfaeae1b3f11e00c9b1754a7770] | committer: Rémi Denis-Courmont
vlc_mutex_trylock() return value must be checked
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bd78a9944361cbfaeae1b3f11e00c9b1754a7770
---
include/vlc_threads.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index dd0bce7..52157d8 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -143,7 +143,7 @@ VLC_EXPORT( int, vlc_mutex_init, ( vlc_mutex_t * ) );
VLC_EXPORT( int, vlc_mutex_init_recursive, ( vlc_mutex_t * ) );
VLC_EXPORT( void, vlc_mutex_destroy, ( vlc_mutex_t * ) );
VLC_EXPORT( void, vlc_mutex_lock, ( vlc_mutex_t * ) );
-VLC_EXPORT( int, vlc_mutex_trylock, ( vlc_mutex_t * ) );
+VLC_EXPORT( int, vlc_mutex_trylock, ( vlc_mutex_t * ) LIBVLC_USED );
VLC_EXPORT( void, vlc_mutex_unlock, ( vlc_mutex_t * ) );
VLC_EXPORT( int, vlc_cond_init, ( vlc_cond_t * ) );
VLC_EXPORT( void, vlc_cond_destroy, ( vlc_cond_t * ) );
More information about the vlc-devel
mailing list