1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

r25534: Apply some const

Why? It moves these structs from the data into the text segment, so they
will never been copy-on-write copied. Not much, but as in German you say
"Kleinvieh macht auch Mist...."
(This used to be commit 0141e64ad4)
This commit is contained in:
Volker Lendecke
2007-10-05 21:41:17 +00:00
committed by Gerald (Jerry) Carter
parent 9d1a95ac9c
commit 0ebab65706
14 changed files with 27 additions and 27 deletions

View File

@ -29,7 +29,7 @@ static TDB_CONTEXT *share_tdb; /* used for share security descriptors */
/* Map generic permissions to file object specific permissions */
static struct generic_mapping file_generic_mapping = {
static const struct generic_mapping file_generic_mapping = {
FILE_GENERIC_READ,
FILE_GENERIC_WRITE,
FILE_GENERIC_EXECUTE,