Wireshark-commits: [Wireshark-commits] master b9e8b7c: When using the NEW_PROTO_TREE_API, the proto
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 04 Jun 2018 20:33:47 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b9e8b7cb24eb5ed490e954d4869f7fe2dce59c41
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b9e8b7c by Joerg Mayer (jmayer@xxxxxxxxx):

    When using the NEW_PROTO_TREE_API, the proto_tree_add... functions are
    "redefined" to handle the same way as before.
    
    In dissectors using the new API, add all currently used proto_tree_add_xxx
    functions to the list of functions that take care of NEW_PROTO_TREE_API changes.
    
    Modify the dissectors that worked around the missing change.
    
    Change-Id: Ib6d6ec2c225d96c98c2a8f507648d7ad4bfb6c68
    Reviewed-on: https://code.wireshark.org/review/28002
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    

Actions performed:

    from  70e49e8   travis: don't install asciidoctor's documentation.
    adds  b9e8b7c   When using the NEW_PROTO_TREE_API, the proto_tree_add... functions are "redefined" to handle the same way as before.


Summary of changes:
 epan/dissectors/file-gif.c                 |  4 +--
 epan/dissectors/packet-bitcoin.c           |  6 ++--
 epan/dissectors/packet-dbus.c              | 20 +++++------
 epan/dissectors/packet-fcdns.c             |  6 ++--
 epan/dissectors/packet-gadu-gadu.c         |  8 ++---
 epan/dissectors/packet-json.c              |  6 ++--
 epan/dissectors/packet-netlink-generic.c   | 19 +++++-----
 epan/dissectors/packet-netlink-netfilter.c |  4 +--
 epan/dissectors/packet-netlink-route.c     |  8 ++---
 epan/dissectors/packet-netlink-sock_diag.c |  2 +-
 epan/dissectors/packet-netlink.c           |  6 ++--
 epan/dissectors/packet-nflog.c             |  2 +-
 epan/dissectors/packet-udp.c               | 10 +++---
 epan/dissectors/packet-yami.c              |  4 +--
 epan/proto.h                               | 57 +++++++++++++++++++++++++++---
 15 files changed, 106 insertions(+), 56 deletions(-)