]> git.ipfire.org Git - thirdparty/samba.git/commit
pidl: Wireshark: Const-ify dcerpc_sub_dissector structures.
authorJohn Thacker <johnthacker@gmail.com>
Wed, 3 Jul 2024 11:52:42 +0000 (07:52 -0400)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jul 2024 09:59:32 +0000 (09:59 +0000)
commit2f5a388dd105f43d69b730f05be1b1b109c87212
tree9597ca96d08891a9bdbea6befb9aec22c7fbe7a7
parent5a5e68c274739c9f05833b881e6dc21fc3829f74
pidl: Wireshark: Const-ify dcerpc_sub_dissector structures.

Pick up change from Wireshark:

    commit 8a2a42241fd148ce735e776a6a1e6b49b64d215e
    Author: Darius Davis <darius-wireshark@free-range.com.au>
    Date:   Sun May 19 17:39:38 2024 +1000

        Const-ify dcerpc_sub_dissector structures.

        This moves about 56 kBytes of data from a read-write data section to read-only.

        The various dissectors were _not_ regenerated for this commit.  Instead, this
        commit was produced using the following command:

           find * -type f -exec sed -i -e 's/\(["'\'']\|^\)static dcerpc_sub_dissector/\1static const dcerpc_sub_dissector/' \{\} \;

        This updates the generator script and its test, as well as making an identical
        change to all of the dissectors, regardless of whether or not those dissectors
        were produced by the generator script.

Signed-off-by: John Thacker <johnthacker@gmail.com>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
pidl/lib/Parse/Pidl/Wireshark/NDR.pm
pidl/tests/wireshark-ndr.pl