diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-10-05 21:41:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:31:12 -0500 |
commit | 0ebab65706e7e2ef82d8af81225db05a5f78b5c4 (patch) | |
tree | 1d5f4210f081984176ae8274050c4bb673bef4cf /source3/rpc_server/srv_srvsvc_nt.c | |
parent | 9d1a95ac9c780339c80cbb0fe3fdf3a78d8c7059 (diff) | |
download | samba-0ebab65706e7e2ef82d8af81225db05a5f78b5c4.tar.gz samba-0ebab65706e7e2ef82d8af81225db05a5f78b5c4.tar.bz2 samba-0ebab65706e7e2ef82d8af81225db05a5f78b5c4.zip |
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)
Diffstat (limited to 'source3/rpc_server/srv_srvsvc_nt.c')
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index 503ecc1d1c..321ff83156 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -27,7 +27,7 @@ #define MAX_SERVER_DISK_ENTRIES 15 -extern struct generic_mapping file_generic_mapping; +extern const struct generic_mapping file_generic_mapping; extern userdom_struct current_user_info; #undef DBGC_CLASS |