A long time ago, in a land far far away, we added "asterisk/ast_version.h", which provides the ast_get_version() and ast_get_version_num() functions. These were added so that modules that needed the version information for the Asterisk instance they were loaded in could actually get it (as opposed the version that they were compiled against). We changed everything in the tree to use the new mechanism (although later main/test.c was added using the old method). However, the old mechanism was never removed, and as a result, new code is still trying to use it. This commit removes asterisk/version.h and replaces it with a header that will generate a compile-time error if you try to use it (the error message tells you which header you should use instead). It also removes the Makefile and build_tools bits that generated the file, and it updates main/test.c to use the 'proper' method of getting the Asterisk version information. This is an API change and thus is being committed for trunk only, but it's a fairly minor one and definitely improves the situation for out-of-tree modules. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352626 65c4cc65-6c06-0410-ace0-fbb531ad65f3 |
||
---|---|---|
.. | ||
cflags-devmode.xml | ||
cflags.xml | ||
embed_modules.xml | ||
get_documentation | ||
get_makeopts | ||
get_moduleinfo | ||
make_build_h | ||
make_buildopts_h | ||
make_defaults_h | ||
make_linker_eo_script | ||
make_linker_version_script | ||
make_sample_voicemail | ||
make_version | ||
make_version_c | ||
menuselect-deps.in | ||
mkpkgconfig | ||
prep_tarball | ||
sha1sum-sh |