From: Andrew Bartlett Date: Sun, 20 Nov 2016 22:21:50 +0000 (+1300) Subject: pidl: Make dcesrv\_$name\_interface "static const" X-Git-Tag: samba-4.6.0rc1~361 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=50dff7e094d48793b432992a28571a6f7e5cc73c;p=bbaumbach%2Fsamba-autobuild%2F.git pidl: Make dcesrv\_$name\_interface "static const" This moves it out of the global namespace Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Thu Dec 8 13:25:57 CET 2016 on sn-devel-144 --- diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm index 70778640f04..7ca18a8483c 100644 --- a/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm +++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm @@ -192,7 +192,7 @@ static NTSTATUS $name\__op_ndr_push(struct dcesrv_call_state *dce_call, TALLOC_C return NT_STATUS_OK; } -const struct dcesrv_interface dcesrv\_$name\_interface = { +static const struct dcesrv_interface dcesrv\_$name\_interface = { .name = \"$name\", .syntax_id = {".print_uuid($uuid).",$if_version}, .bind = $name\__op_bind,