summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_srvsvc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-01 09:12:41 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-01 09:12:41 +0000
commit9930b0b0650ae3e38c033c28672398425dd8228c (patch)
tree47b143202d38ba49bae8be103d6420f5de8f33a3 /source3/rpc_server/srv_srvsvc.c
parent859b13577309912fc5b3591971412b2cb3a42f28 (diff)
downloadsamba-9930b0b0650ae3e38c033c28672398425dd8228c.tar.gz
samba-9930b0b0650ae3e38c033c28672398425dd8228c.tar.bz2
samba-9930b0b0650ae3e38c033c28672398425dd8228c.zip
used findstatic.pl to make some variables static and remove some dead
code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
Diffstat (limited to 'source3/rpc_server/srv_srvsvc.c')
-rw-r--r--source3/rpc_server/srv_srvsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc.c b/source3/rpc_server/srv_srvsvc.c
index 96e6172366..5e1c005d54 100644
--- a/source3/rpc_server/srv_srvsvc.c
+++ b/source3/rpc_server/srv_srvsvc.c
@@ -495,7 +495,7 @@ static BOOL api_srv_net_file_set_secdesc(pipes_struct *p)
\PIPE\srvsvc commands
********************************************************************/
-struct api_struct api_srv_cmds[] =
+static const struct api_struct api_srv_cmds[] =
{
{ "SRV_NET_CONN_ENUM" , SRV_NET_CONN_ENUM , api_srv_net_conn_enum },
{ "SRV_NET_SESS_ENUM" , SRV_NET_SESS_ENUM , api_srv_net_sess_enum },