[asterisk-commits] kpfleming: branch 10 r352516 - /branches/10/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 25 10:54:25 CST 2012


Author: kpfleming
Date: Wed Jan 25 10:54:21 2012
New Revision: 352516

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=352516
Log:
Eliminate unnecessary rebuilds of main/format*.c.

These files have no need to include "asterisk/version.h", and doing so forces
them to be rebuilt each time a Subversion checkout moves between 'modified'
and 'unmodified' states.


Modified:
    branches/10/main/format.c
    branches/10/main/format_cap.c
    branches/10/main/format_pref.c

Modified: branches/10/main/format.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/format.c?view=diff&rev=352516&r1=352515&r2=352516
==============================================================================
--- branches/10/main/format.c (original)
+++ branches/10/main/format.c Wed Jan 25 10:54:21 2012
@@ -30,7 +30,6 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$");
 
 #include "asterisk/_private.h"
-#include "asterisk/version.h"
 #include "asterisk/format.h"
 #include "asterisk/astobj2.h"
 #include "asterisk/lock.h"

Modified: branches/10/main/format_cap.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/format_cap.c?view=diff&rev=352516&r1=352515&r2=352516
==============================================================================
--- branches/10/main/format_cap.c (original)
+++ branches/10/main/format_cap.c Wed Jan 25 10:54:21 2012
@@ -28,7 +28,6 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$");
 
 #include "asterisk/_private.h"
-#include "asterisk/version.h"
 #include "asterisk/format.h"
 #include "asterisk/format_cap.h"
 #include "asterisk/frame.h"

Modified: branches/10/main/format_pref.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/format_pref.c?view=diff&rev=352516&r1=352515&r2=352516
==============================================================================
--- branches/10/main/format_pref.c (original)
+++ branches/10/main/format_pref.c Wed Jan 25 10:54:21 2012
@@ -26,7 +26,6 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$");
 
 #include "asterisk/_private.h"
-#include "asterisk/version.h"
 #include "asterisk/frame.h"
 #include "asterisk/channel.h"
 #include "asterisk/utils.h"




More information about the asterisk-commits mailing list