1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source/registry
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
..
reg_cachehook.c enumeration of printers keys ( no data yet ) via the registry 0001-01-01 00:00:00 +00:00
reg_db.c Merge of case fixes from APPLIANCE_HEAD. 0001-01-01 00:00:00 +00:00
reg_frontend.c break out REGISTRY_VALUE & REGVAL_CR objects into separate file for 0001-01-01 00:00:00 +00:00
reg_objects.c BIG patch... 0001-01-01 00:00:00 +00:00
reg_printing.c BIG patch... 0001-01-01 00:00:00 +00:00