[vlc-devel] commit: Missing const ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jul 5 18:50:31 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jul  5 19:52:43 2008 +0300| [f6cf272a72a5db58f697c2ec3f01a9e5f13ccda7]

Missing const

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6cf272a72a5db58f697c2ec3f01a9e5f13ccda7
---

 include/vlc_objects.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index c3b2078..34149d0 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -162,7 +162,7 @@ VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) );
 #define vlc_object_kill(a) \
     __vlc_object_kill( VLC_OBJECT(a) )
 
-static inline bool __vlc_object_alive (vlc_object_t *obj)
+static inline bool __vlc_object_alive (const vlc_object_t *obj)
 {
     barrier ();
     return !obj->b_die;




More information about the vlc-devel mailing list