pidl: Make static struct api_struct also const
authorAndrew Bartlett <abartlet@samba.org>
Sun, 20 Nov 2016 22:58:07 +0000 (11:58 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Dec 2016 04:54:22 +0000 (05:54 +0100)
commitc6c1463852533ed8234911835b8b1fce29b2d3d8
tree1ef61e8ebae15b82e6825a31faa868a0632208d1
parentd368ee2298bc472caca940a3db7a4f855df6ca21
pidl: Make static struct api_struct also const

This moves the table to read-only memory

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm