[vlc-devel] commit: Remove VLC_INTERNAL ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat May 24 10:18:14 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat May 24 11:19:42 2008 +0300| [9194945adec1b6805e5a0cbef0966d5c15bd88d2]

Remove VLC_INTERNAL

I should not have put internal stuff into the header files anyway

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

 include/vlc_common.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index a5a449e..0be1b3d 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -391,32 +391,26 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *,      /* variable's object */
 #  ifdef __cplusplus
 #    define VLC_PUBLIC_API extern "C" __declspec(dllexport)
 #    define   VLC_EXPORT( type, name, args ) extern "C" __declspec(dllexport) type name args
-#    define VLC_INTERNAL( type, name, args ) extern "C" type name args
 #  else
 #    define VLC_PUBLIC_API extern __declspec(dllexport)
 #    define   VLC_EXPORT( type, name, args ) __declspec(dllexport) type name args
-#    define VLC_INTERNAL( type, name, args ) type name args
 #  endif
 #else
 #  ifdef __cplusplus
 #    ifdef HAVE_ATTRIBUTE_VISIBILITY
 #      define VLC_PUBLIC_API extern "C" __attribute__((visibility("default")))
 #      define   VLC_EXPORT( type, name, args ) extern "C" __attribute__((visibility("default"))) type name args
-#      define VLC_INTERNAL( type, name, args ) extern "C" __attribute__((visibility("hidden"))) type name args
 #    else
 #      define VLC_PUBLIC_API extern "C"
 #      define   VLC_EXPORT( type, name, args ) extern "C" type name args
-#      define VLC_INTERNAL( type, name, args ) extern "C" type name args
 #    endif
 #  else
 #    ifdef HAVE_ATTRIBUTE_VISIBILITY
 #      define VLC_PUBLIC_API extern __attribute__((visibility("default")))
 #      define   VLC_EXPORT( type, name, args ) __attribute__((visibility("default"))) type name args
-#      define VLC_INTERNAL( type, name, args ) __attribute__((visibility("hidden"))) type name args
 #    else
 #      define VLC_PUBLIC_API extern
 #      define   VLC_EXPORT( type, name, args ) extern type name args
-#      define VLC_INTERNAL( type, name, args ) type name args
 #    endif
 #  endif
 #endif




More information about the vlc-devel mailing list