From 50de9578aa607c1b64493dbfa7f967025e4ed453 Mon Sep 17 00:00:00 2001
From: "Kevin P. Fleming" <kpfleming@digium.com>
Date: Wed, 25 Jan 2012 16:54:54 +0000
Subject: [PATCH] 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.
........

Merged revisions 352516 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/format.c      | 1 -
 main/format_cap.c  | 1 -
 main/format_pref.c | 1 -
 3 files changed, 3 deletions(-)

diff --git a/main/format.c b/main/format.c
index 8d191b4b2b..82e3d26285 100644
--- a/main/format.c
+++ b/main/format.c
@@ -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"
diff --git a/main/format_cap.c b/main/format_cap.c
index a3e5131602..bd471d4a7e 100644
--- a/main/format_cap.c
+++ b/main/format_cap.c
@@ -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"
diff --git a/main/format_pref.c b/main/format_pref.c
index f24dbec27e..852b650350 100644
--- a/main/format_pref.c
+++ b/main/format_pref.c
@@ -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"
-- 
GitLab