[vlc-commits] objects: remove useless macro

Rémi Denis-Courmont git at videolan.org
Mon Jun 11 19:58:51 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 11 20:50:41 2018 +0300| [b63d462db0fb6a17c091c1845e627cf560e92465] | committer: Rémi Denis-Courmont

objects: remove useless macro

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

 include/vlc_objects.h | 1 -
 src/misc/objects.c    | 1 -
 2 files changed, 2 deletions(-)

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index fca73aefe2..e28d5ea812 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -119,7 +119,6 @@ VLC_API void * vlc_object_hold( vlc_object_t * );
 VLC_API void vlc_object_release( vlc_object_t * );
 VLC_API size_t vlc_list_children(vlc_object_t *, vlc_object_t **, size_t) VLC_USED;
 VLC_API char *vlc_object_get_name( const vlc_object_t * ) VLC_USED;
-#define vlc_object_get_name(o) vlc_object_get_name(VLC_OBJECT(o))
 
 #define vlc_object_create(a,b) vlc_object_create( VLC_OBJECT(a), b )
 
diff --git a/src/misc/objects.c b/src/misc/objects.c
index e00d17001c..c2589191e9 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -295,7 +295,6 @@ int vlc_object_set_name(vlc_object_t *obj, const char *name)
     return (priv->psz_name || !name) ? VLC_SUCCESS : VLC_ENOMEM;
 }
 
-#undef vlc_object_get_name
 char *vlc_object_get_name(const vlc_object_t *obj)
 {
     vlc_object_internals_t *priv = vlc_internals(obj);



More information about the vlc-commits mailing list