1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

6 Commits

Author SHA1 Message Date
Andrew Bartlett
92a777d0ea BIG patch...
This patch makes Samba compile cleanly with -Wwrite-strings.
 - That is, all string literals are marked as 'const'.  These strings are
always read only, this just marks them as such for passing to other functions.

What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables).  The rest
is just adding a lot of 'const'.

As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).

Andrew Bartlett
-
Andrew Bartlett
9615ab10c0 Try to compile as much as possible with only ldap, but not kerberos. -
Andrew Tridgell
91ad9041e9 used findstatic.pl to make some variables static and remove some dead
code
-
Andrew Tridgell
5a04ea1f0c fixed a spelling mistake -
Tim Potter
e66bdf1229 Stomped on some header file version numbers that have crept back in. -
Andrew Tridgell
98196e79b7 forgotten file, oops -