X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fversion.c;h=0dc70f3184b6369a84a59794b5114138d2052b55;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=3bac4340ae34c307d12c61de1b5fecb100bf5c6a;hpb=d666030b2349e8a710fcba4d2cabb912cc700580;p=vlc diff --git a/src/version.c b/src/version.c index 3bac4340ae..0dc70f3184 100644 --- a/src/version.c +++ b/src/version.c @@ -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 )