]> git.sesse.net Git - vlc/blobdiff - src/version.c
MP4: fix a typo
[vlc] / src / version.c
index 3bac4340ae34c307d12c61de1b5fecb100bf5c6a..238c3838840933ff925ccf12f4ccdc7a0387bd41 100644 (file)
 #include <vlc_common.h>
 
 /*****************************************************************************
- * VLC_Version: return the libvlc version.
- *****************************************************************************
- * This function returns full version string (numeric version and codename).
- *****************************************************************************/
-char const * VLC_Version( void )
-{
-    return VERSION_MESSAGE;
-}
-
-/*****************************************************************************
- * VLC_CompileBy, VLC_CompileHost, VLC_CompileDomain,
+ * VLC_CompileBy, VLC_CompileHost
  * VLC_Compiler, VLC_Changeset
  *****************************************************************************/
 #define DECLARE_VLC_VERSION( func, var )                                    \
-char const * VLC_##func ( void )                                            \
+const char * VLC_##func ( void )                                            \
 {                                                                           \
     return VLC_##var ;                                                      \
 }
 
-DECLARE_VLC_VERSION( CompileBy, COMPILE_BY );
-DECLARE_VLC_VERSION( CompileHost, COMPILE_HOST );
-DECLARE_VLC_VERSION( CompileDomain, COMPILE_DOMAIN );
-DECLARE_VLC_VERSION( Compiler, COMPILER );
-
-extern const char psz_vlc_changeset[];
-const char* VLC_Changeset( void )
-{
-    return psz_vlc_changeset;
-}
+DECLARE_VLC_VERSION( CompileBy, COMPILE_BY )
+DECLARE_VLC_VERSION( CompileHost, COMPILE_HOST )
+DECLARE_VLC_VERSION( Compiler, COMPILER )