]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Avoid unnecessary rebuilds of main/test.c.
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 25 Jan 2012 21:18:22 +0000 (21:18 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 25 Jan 2012 21:18:22 +0000 (21:18 +0000)
commitbfedbd32b233c073b66a76a635c6e1b655cf2018
tree854e4b0c830e4a82495fba8688b7ac9309627a43
parentc392836403aa440ad0513e1c01983d8351a843a2
Avoid unnecessary rebuilds of main/test.c.

main/test.c includes "asterisk/version.h", when it should include
"asterisk/ast_version.h" instead (and it should use the ast_get_version()
and ast_get_version_num() functions). This commit modifies it to extract
the Asterisk version information using the proper APIs, and as a result means
that main/test.c no longer needs to be rebuilt when a Subversion checkout
is updated or modified.
........

Merged revisions 352612 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@352616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/test.c