1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source/groupdb
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
0001-01-01 00:00:00 +00:00
..
aliasdb.c Put in intermediate version of new SAM system. It's not stable yet, code 0001-01-01 00:00:00 +00:00
aliasfile.c Removed version number from file header. 0001-01-01 00:00:00 +00:00
groupdb.c Put in intermediate version of new SAM system. It's not stable yet, code 0001-01-01 00:00:00 +00:00
groupfile.c Removed version number from file header. 0001-01-01 00:00:00 +00:00
mapping.c BIG patch... 0001-01-01 00:00:00 +00:00