X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fversion.c;h=0dc70f3184b6369a84a59794b5114138d2052b55;hb=599fbde71fba4397aa62fe81f957ee641654997c;hp=bc0cbe963687f5c43926a157d7e4fb13900d85f3;hpb=a20c35e9023c2ac3e413451224e9cb8370da9d9b;p=vlc diff --git a/src/version.c b/src/version.c index bc0cbe9636..0dc70f3184 100644 --- a/src/version.c +++ b/src/version.c @@ -28,7 +28,7 @@ # include "config.h" #endif -#include +#include /***************************************************************************** * VLC_Version: return the libvlc version. @@ -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 )