1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/client
Michael Adam 39ec8791f8 s3: make better use of ccache by not including version.h in every C-file.
version.h changes rather frequently. Since it is included via includes.h,
this means each C file will be a cache miss. This applies to the following
situations:

* When building a new package with a new Samba version

* building in a git branch after calling mkversion.sh
  after a new commit (i.e. virtually always)

This patch improves the situation in the following way:

* remove inlude "version.h" from includes.h

* Use samba_version_string() instead of SAMBA_VERSION_STRING
  in files that use no other macro from version.h instead of
  SAMBA_VERSION_STRING.

* explicitly include "version.h" in those files that use more
  macros from "version.h" than just SAMBA_VERSION_STRING.

Michael
2009-01-15 22:56:01 +01:00
..
cifs_spnego.h cifs.upcall: bump SPNEGO msg version number and don't reject old versions 2008-08-22 13:29:16 -04:00
cifs.upcall.c cifs.upcall: make most functions static and silence compiler warnings 2008-09-12 21:13:54 -04:00
client_proto.h Remove stuff from client_proto.h 2008-05-25 11:43:56 +02:00
client.c s3: make better use of ccache by not including version.h in every C-file. 2009-01-15 22:56:01 +01:00
clitar.c Fix all warnings in source3 with gcc4.3. 2008-12-31 18:06:57 -08:00
dnsbrowse.c Fix a "no prototype" warning 2007-12-19 20:48:45 +01:00
mount.cifs.c mount.cifs: allow mounts to ipv6 capable servers 2008-12-12 07:00:38 -05:00
mount.h mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog 2008-11-06 15:07:07 -05:00
mtab.c mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog 2008-11-06 15:07:07 -05:00
smbspool.c Use separate make variables for libutil and libcrypto. 2008-10-18 14:28:40 +02:00
tree.c Fix sample gtk code. Does this compile ? 2007-12-04 18:24:19 -08:00
umount.cifs.c mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog 2008-11-06 15:07:07 -05:00