Changeset a20c35e9023c2ac3e413451224e9cb8370da9d9b

Show
Ignore:
Timestamp:
31/05/08 20:36:40 (4 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1212259000 +0300
git-parent:

[a308763e5e6312316c38d7e40e1a0eaaa78b3cf5]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1212259000 +0300
Message:

Move non-deprecated version functions out of the deprecated file

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/Makefile.am

    ra308763 ra20c35e  
    268268    libvlc.h \ 
    269269    libvlc-module.c \ 
     270    version.c \ 
    270271    interface/interface.h \ 
    271272    interface/interface.c \ 
  • src/libvlc.c

    r31013e2 ra20c35e  
    4949#include <vlc_aout.h> 
    5050#include <vlc_vout.h> 
    51  
    52 /***************************************************************************** 
    53  * VLC_Version: return the libvlc version. 
    54  ***************************************************************************** 
    55  * This function returns full version string (numeric version and codename). 
    56  *****************************************************************************/ 
    57 char const * VLC_Version( void ) 
    58 { 
    59     return VERSION_MESSAGE; 
    60 } 
    61  
    62 /***************************************************************************** 
    63  * VLC_CompileBy, VLC_CompileHost, VLC_CompileDomain, 
    64  * VLC_Compiler, VLC_Changeset 
    65  *****************************************************************************/ 
    66 #define DECLARE_VLC_VERSION( func, var )                                    \ 
    67 char const * VLC_##func ( void )                                            \ 
    68 {                                                                           \ 
    69     return VLC_##var ;                                                      \ 
    70 } 
    71  
    72 DECLARE_VLC_VERSION( CompileBy, COMPILE_BY ); 
    73 DECLARE_VLC_VERSION( CompileHost, COMPILE_HOST ); 
    74 DECLARE_VLC_VERSION( CompileDomain, COMPILE_DOMAIN ); 
    75 DECLARE_VLC_VERSION( Compiler, COMPILER ); 
    76  
    77 extern const char psz_vlc_changeset[]; 
    78 const char* VLC_Changeset( void ) 
    79 { 
    80     return psz_vlc_changeset; 
    81 } 
    8251 
    8352#define LIBVLC_FUNC \