From 0ebab65706e7e2ef82d8af81225db05a5f78b5c4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 5 Oct 2007 21:41:17 +0000 Subject: 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 0141e64ad4972232de867137064d0dae62da22ee) --- source3/include/rpc_secdes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h index 298d4e664e..649e8069df 100644 --- a/source3/include/rpc_secdes.h +++ b/source3/include/rpc_secdes.h @@ -108,19 +108,19 @@ typedef struct sec_desc_buf SEC_DESC_BUF; /* A type to describe the mapping of generic access rights to object specific access rights. */ -typedef struct generic_mapping { +struct generic_mapping { uint32 generic_read; uint32 generic_write; uint32 generic_execute; uint32 generic_all; -} GENERIC_MAPPING; +}; -typedef struct standard_mapping { +struct standard_mapping { uint32 std_read; uint32 std_write; uint32 std_execute; uint32 std_all; -} STANDARD_MAPPING; +}; /* Security Access Masks Rights */ -- cgit