summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2018-08-23 09:29:56 +1200
committerGary Lockyer <gary@samba.org>2018-11-01 23:49:24 +0100
commitd6777a66c0dbd0c356059644b57070d4587d83ea (patch)
tree11375990e0a99f054a990b751db2e906e7cc0007 /source4/rpc_server
parent4731c3382122eac2894fda764891c4903211592f (diff)
downloadsamba-d6777a66c0dbd0c356059644b57070d4587d83ea.tar.gz
source4 smbd: Make the service_details structure constant.
Make the service_details structure a static const. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/service_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c
index eb75184a05f..f7d1a9f3c7d 100644
--- a/source4/rpc_server/service_rpc.c
+++ b/source4/rpc_server/service_rpc.c
@@ -142,7 +142,7 @@ failed:
NTSTATUS server_service_rpc_init(TALLOC_CTX *ctx)
{
- struct service_details details = {
+ static const struct service_details details = {
/*
* This is a SNOWFLAKE, but sadly one that we
* will have to keep for now. The RPC server