]> git.sesse.net Git - vlc/blobdiff - src/version.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / src / version.c
index 3bac4340ae34c307d12c61de1b5fecb100bf5c6a..0dc70f3184b6369a84a59794b5114138d2052b55 100644 (file)
@@ -41,22 +41,15 @@ char const * VLC_Version( void )
 }
 
 /*****************************************************************************
- * 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 )