Author: tridge Date: 2005-01-18 09:30:43 +0000 (Tue, 18 Jan 2005) New Revision: 4817
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4817 Log: ccache was being made ineffective on all the build farm machines because the version number was being auto-updated and included in all C files. With this change it is only included where needed. Modified: branches/SAMBA_4_0/source/client/client.c branches/SAMBA_4_0/source/include/includes.h branches/SAMBA_4_0/source/lib/cmdline/popt_common.c branches/SAMBA_4_0/source/lib/fault.c branches/SAMBA_4_0/source/libads/ldap.c branches/SAMBA_4_0/source/param/loadparm.c branches/SAMBA_4_0/source/smbd/process_thread.c Changeset: Modified: branches/SAMBA_4_0/source/client/client.c =================================================================== --- branches/SAMBA_4_0/source/client/client.c 2005-01-18 06:38:11 UTC (rev 4816) +++ branches/SAMBA_4_0/source/client/client.c 2005-01-18 09:30:43 UTC (rev 4817) @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "version.h" #include "dynconfig.h" #include "clilist.h" #include "lib/cmdline/popt_common.h" Modified: branches/SAMBA_4_0/source/include/includes.h =================================================================== --- branches/SAMBA_4_0/source/include/includes.h 2005-01-18 06:38:11 UTC (rev 4816) +++ branches/SAMBA_4_0/source/include/includes.h 2005-01-18 09:30:43 UTC (rev 4817) @@ -152,7 +152,6 @@ #endif /* Lists, trees, caching, database... */ -#include "version.h" #include "xfile.h" #define TALLOC_DEPRECATED 1 #include "lib/talloc/talloc.h" Modified: branches/SAMBA_4_0/source/lib/cmdline/popt_common.c =================================================================== --- branches/SAMBA_4_0/source/lib/cmdline/popt_common.c 2005-01-18 06:38:11 UTC (rev 4816) +++ branches/SAMBA_4_0/source/lib/cmdline/popt_common.c 2005-01-18 09:30:43 UTC (rev 4817) @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "version.h" #include "dynconfig.h" #include "system/passwd.h" #include "lib/cmdline/popt_common.h" Modified: branches/SAMBA_4_0/source/lib/fault.c =================================================================== --- branches/SAMBA_4_0/source/lib/fault.c 2005-01-18 06:38:11 UTC (rev 4816) +++ branches/SAMBA_4_0/source/lib/fault.c 2005-01-18 09:30:43 UTC (rev 4817) @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "version.h" #include "system/wait.h" static void (*cont_fn)(void *); Modified: branches/SAMBA_4_0/source/libads/ldap.c =================================================================== --- branches/SAMBA_4_0/source/libads/ldap.c 2005-01-18 06:38:11 UTC (rev 4816) +++ branches/SAMBA_4_0/source/libads/ldap.c 2005-01-18 09:30:43 UTC (rev 4817) @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "version.h" #ifdef HAVE_LDAP Modified: branches/SAMBA_4_0/source/param/loadparm.c =================================================================== --- branches/SAMBA_4_0/source/param/loadparm.c 2005-01-18 06:38:11 UTC (rev 4816) +++ branches/SAMBA_4_0/source/param/loadparm.c 2005-01-18 09:30:43 UTC (rev 4817) @@ -53,6 +53,7 @@ */ #include "includes.h" +#include "version.h" #include "dynconfig.h" #include "system/time.h" #include "system/iconv.h" Modified: branches/SAMBA_4_0/source/smbd/process_thread.c =================================================================== --- branches/SAMBA_4_0/source/smbd/process_thread.c 2005-01-18 06:38:11 UTC (rev 4816) +++ branches/SAMBA_4_0/source/smbd/process_thread.c 2005-01-18 09:30:43 UTC (rev 4817) @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "version.h" #include <pthread.h> #ifdef HAVE_BACKTRACE #include <execinfo.h>